Skip to content

feat(agy): add Gemini 3.1 Pro (Low/High) model mappings (#42) - #43

Merged
starhunt merged 1 commit into
mainfrom
feat/42-gemini-31-pro
Jun 23, 2026
Merged

starhunt merged 1 commit into
mainfrom
feat/42-gemini-31-pro

Conversation

@starhunt

Copy link
Copy Markdown
Owner

Summary

이슈 #38 댓글(@deadcoder0904: "Can u do it for gemini-3.1-pro (high) & (low) both??? That's missing") 반영. PR #39는 agy의 Gemini 3.5 Flash 3종만 매핑했고, agy models의 Gemini 3.1 Pro (Low)/(High) 2종이 누락됐던 것.

  • gemini-3.1-pro-low → "Gemini 3.1 Pro (Low)"
  • gemini-3.1-pro-high → "Gemini 3.1 Pro (High)"

3.1 Pro는 Medium 변형이 없어 Low/High 둘뿐(#39의 Flash와 동일 패턴, 표시명 라벨 사용).

Test plan

  • 실 agy 라벨 해석 확인: resolver 로그 Propagating ... label="Gemini 3.1 Pro (High/Low)" (조용한 폴백 아님)
  • config Zod 검증: loadConfig(config.yaml/config.example.yaml) 통과
  • 라이브 DB 등록 + /admin/test-model: 두 모델 success=true, 응답 "OK"
  • 라우팅 E2E: gemini-3.1-pro-high alias → debug cliArgs ["...agy","--model","Gemini 3.1 Pro (High)","-p","Say OK"]

Closes #42

🤖 Generated with Claude Code

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

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YTfJbCw7cUpZHAqq4ZnMWo
@starhunt
starhunt merged commit 91b7167 into main Jun 23, 2026
1 check passed
@starhunt
starhunt deleted the feat/42-gemini-31-pro branch June 23, 2026 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(agy): add Gemini 3.1 Pro (Low/High) model mappings

1 participant