refactor(config): 모델 티어 별칭 + 현재 모델(opus-4-8 / sonnet-5) 갱신 - #29
Merged
Conversation
- agents.yaml: 상단 `models` 티어 맵(judge/code) 추가, 각 에이전트는 하드코딩 대신 `model_tier` 참조 → 신모델 출시 시 두 줄만 수정. - config.py: `_resolve_model_tiers()` 가 로드 시 tier→concrete model 해석. 명시적 `model:` override 유지, models 블록 없는 구형 yaml 도 동작. `AgentConfig.model_tier` optional 필드 추가. - 모델 갱신: opus-4-6→opus-4-8(judge), sonnet-4-6·haiku-4-5→sonnet-5(code). Haiku 미사용 — 코딩은 단일 sonnet 티어. - dashboard `_ALLOWED_MODELS`, SETUP.md 예시, python-cli.md, prompt-evaluation 문서를 현재 모델/티어 별칭에 맞춰 정리. - tests: TestModelTierResolution 5개 추가, 실 yaml assert 갱신. backend 전체 1252 passed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
model-tier 리팩터와의 일관성. 픽스처 model 값은 assert 대상이 아니라 동작 무관이나 잔존 옛 모델명(sonnet-4-6) 제거. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
bd6c859 의 정렬용 공백·긴 줄이 ruff format --check 게이트를 통과 못 함. 포맷만 적용, 로직 무변경. Co-Authored-By: Claude Opus 4.8 <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.
요약
에이전트 모델을 하드코딩 대신
models티어 별칭(judge/code)으로 참조하도록 전환. 신모델 출시 시agents.yaml상단 두 줄만 수정하면 전체 반영된다.변경
models: {judge: claude-opus-4-8, code: claude-sonnet-5}티어 맵 추가, 각 에이전트는model_tier참조_resolve_model_tiers()로드 시 tier→concrete 해석. 명시model:override 유지, 구형 yaml 하위호환.AgentConfig.model_tieroptional 필드 추가_ALLOWED_MODELS, SETUP.md, python-cli.md, prompt-evaluation 문서TestModelTierResolution5개 + 매칭 픽스처 모델명 정리검증
알려진 사항 (이 PR 범위 밖)
agents.py의AgentConfigUpdate+_ALLOWED_MODELS는 참조 라우트가 없는 기존 dead code. 삭제하지 않고 별칭 정합만 반영.🤖 Generated with Claude Code