Skip to content

v0.4.2 — restart fix, CI-built exe

Choose a tag to compare

@lin-414 lin-414 released this 30 Aug 09:48
· 24 commits to main since this release

Patch release: GUI proxy restart fix, CI-built exe.

What's new in v0.4.2

  • Fixed "start proxy" occasionally failing right after stopping it — the
    listening socket is now closed deterministically (server_close), the server
    loop polls faster so shutdown completes ~10x sooner, and the GUI retries
    binding briefly across the shutdown window. A genuine port conflict still
    reports the error as before.
  • The cmdgo-gui.exe below is now built by CI (release workflow) on every
    tagged push, instead of being uploaded manually.
  • README: how to configure the provider in ZCode (EN/zh), including the
    unknown-model-id trap that shows up as "authentication failed".

Usage

Double-click cmdgo-gui.exe. Click OAuth 登录 once per account to add
accounts; requests are spread across them automatically and fail over within
a single request when one account is rate-limited.

Point your OpenAI-compatible client at:

Item Value
Base URL http://127.0.0.1:8787/v1
API key cmdgo
Protocol OpenAI Chat Completions

Build from source

python -m pip install pyinstaller customtkinter pystray pillow
windows\build_gui.cmd

Token/accounts are stored per-user at %APPDATA%\cmdgo-provider\. The server binds to 127.0.0.1 only.