Skip to content

refactor(config): 모델 티어 별칭 + 현재 모델(opus-4-8 / sonnet-5) 갱신 - #29

Merged
reasonableplan merged 3 commits into
mainfrom
refactor/model-tier-aliases
Jul 1, 2026
Merged

refactor(config): 모델 티어 별칭 + 현재 모델(opus-4-8 / sonnet-5) 갱신#29
reasonableplan merged 3 commits into
mainfrom
refactor/model-tier-aliases

Conversation

@reasonableplan

Copy link
Copy Markdown
Owner

요약

에이전트 모델을 하드코딩 대신 models 티어 별칭(judge/code)으로 참조하도록 전환. 신모델 출시 시 agents.yaml 상단 두 줄만 수정하면 전체 반영된다.

변경

  • agents.yaml: models: {judge: claude-opus-4-8, code: claude-sonnet-5} 티어 맵 추가, 각 에이전트는 model_tier 참조
  • config.py: _resolve_model_tiers() 로드 시 tier→concrete 해석. 명시 model: override 유지, 구형 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개 + 매칭 픽스처 모델명 정리

검증

  • backend 전체 1252 passed

알려진 사항 (이 PR 범위 밖)

  • agents.pyAgentConfigUpdate + _ALLOWED_MODELS는 참조 라우트가 없는 기존 dead code. 삭제하지 않고 별칭 정합만 반영.

🤖 Generated with Claude Code

reasonableplan and others added 2 commits July 1, 2026 23:27
- 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>
@reasonableplan
reasonableplan merged commit 9b39198 into main Jul 1, 2026
2 checks passed
@reasonableplan
reasonableplan deleted the refactor/model-tier-aliases branch July 1, 2026 14:42
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.

1 participant