Repository navigation
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 modelsparsing handles both the legacy one-column format and the new two-column format, and drops the status line. (#15)modelandAGY_DEFAULT_MODELnow 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 formagy --modelaccepts on every CLI version.server.jsonversion 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