Skip to content

v0.4.2 — Fix model selection for agy CLI 1.1+

Latest

Choose a tag to compare

@sshahzaiib sshahzaiib released this 19 Sep 21:01
d3911a8

Fix model selection for agy CLI 1.1+

Since agy CLI 1.1.x, agy models prints a Fetching available models... status line followed by <id>\t<display name> rows. agy-bridge 0.4.1 kept whole lines, so every model argument was rejected with Model "..." is not available, per-tool routing silently fell back to agy's default, and AGY_DEFAULT_MODEL was ignored. Reported in #14 — thanks @suho-park-00.

Changes

  • agy models parsing handles both the legacy one-column format and the new two-column format, and drops the status line. (#15)
  • model and AGY_DEFAULT_MODEL now accept either the id (gemini-3.7-flash-medium) or the display name (Gemini 3.7 Flash (Medium)). Both normalise to the display name, the form agy --model accepts on every CLI version.
  • server.json version synced with the package (was stuck at 0.4.0).

Known follow-up

The built-in per-tool routing chains still reference Gemini 3.5 Flash, which no longer appears in current agy models output. Affected tools fall through to agy's default with a footer note. A chain refresh is next.

Full Changelog: v0.4.1...v0.4.2