Repository navigation
feat(agy): --model support + corrected reasoning-effort model mappings (#38) - #39
Merged
Merged
Conversation
agy 1.0.10 adds the --model flag (1.0.0 had none). Forward the mapping's
actual_model as --model, using the exact display-name label `agy models`
prints (e.g. "Gemini 3.5 Flash (Low)"). The "antigravity" placeholder is
skipped so agy auto-selects, preserving prior behaviour.
Adds gemini-3.5-flash-{low,medium,high} mappings to config(.example).yaml.
[gotcha] An unknown --model label is silently ignored and falls back to the
backend default (Gemini 3.5 Flash Medium) — verified via resolver.go logs.
So issue #38's `gemini-3.5-flash-low` format would always yield Medium; the
parenthesised display label is the only identifier agy resolves.
Refs #38
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YTfJbCw7cUpZHAqq4ZnMWo
Seed config.yaml mappings whose alias is not yet in the DB, instead of only seeding when the table is empty. New config aliases now propagate on restart without a manual dashboard add. Existing rows are never overwritten or deleted: the DB is the runtime SSOT and the dashboard (admin/model-mappings) edits it, so issue #38's proposed "force upsert every startup" would clobber user edits — rejected in favour of this additive variant. [followup] mappings removed/edited in config are not auto-removed/updated. Refs #38 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YTfJbCw7cUpZHAqq4ZnMWo
starhunt
added a commit
that referenced
this pull request
Jun 23, 2026
Follow-up to #39 (issue #38 comment): agy exposes Gemini 3.1 Pro (Low) and (High) in `agy models`, but #39 only mapped the Gemini 3.5 Flash trio. Add the two 3.1 Pro presets (Pro has no Medium variant). actual_model uses the exact display-name label agy resolves. Verified end-to-end: both labels resolve via agy (resolver "Propagating label=..."), test-model returns OK, and routing gemini-3.1-pro-high through /v1/chat/completions emits `agy --model "Gemini 3.1 Pro (High)" -p` (debug cliArgs). Closes #42 Claude-Session: https://claude.ai/code/session_01YTfJbCw7cUpZHAqq4ZnMWo Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
이슈 #38(@deadcoder0904) 검토 후 방향은 채택, 구현 형식은 정정하여 반영.
agy CLI가 1.0.0 → 1.0.10으로 업데이트되며
--model플래그가 생겼고,agy models에 effort별 모델(Gemini 3.5 Flash Low/Medium/High 등)이 분리 노출됩니다. 이슈의 핵심 요구(effort 선택)는 유효합니다.다만 이슈 제안의 모델 식별자 형식(
gemini-3.5-flash-low)은 동작하지 않습니다. 실측 결과 agy는 알 수 없는 라벨을 에러 없이 조용히 기본값(Gemini 3.5 Flash Medium)으로 폴백합니다:agy가 실제로 해석하는 식별자는
agy models가 출력하는 표시명 라벨입니다:채택/정정 내역
buildArgs에--model추가actual_model을 직접--model로 전달gemini-3.5-flash-low"Gemini 3.5 Flash (Low)"로 매핑actual_modelTest plan
npm run build성공npm test— 210 passed / 1 skipped, 회귀 0건 (기준선 197 → 210, 신규 13건)loadConfig(config.yaml/config.example.yaml)통과, 라벨 보존--model "Gemini 3.5 Flash (Low)"→ 백엔드label="Gemini 3.5 Flash (Low)"전파 확인 (resolver 로그)Closes #38
🤖 Generated with Claude Code