refactor(agent): drop the solar-pro rolling alias, default to solar-pro3

Pin the Upstage default to the concrete solar-pro3 instead of the
solar-pro rolling alias:
- plugin fallback_models is now ("solar-pro3",); entry [0] is the setup default
- drop the "solar-pro" context-window fallback entry (solar-pro3 covers it)
- update the reasoning default-on docstring and profile tests accordingly

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Changhyun Min 2026-07-02 13:26:05 +09:00 committed by kshitij
parent 5f3d57400b
commit 35d3fc3b09
3 changed files with 8 additions and 13 deletions

View file

@ -320,14 +320,12 @@ DEFAULT_CONTEXT_LENGTHS = {
"kimi": 262144,
# Upstage Solar — api.upstage.ai/v1/models does not return context_length,
# so these fallbacks keep token budgeting / compression from probing down
# to the 128k default. Substring matching is longest-first, so the versioned
# ids win over the "solar-pro" rolling-alias entry, which in turn covers
# future solar-pro* releases at the Pro context size.
# to the 128k default. Ids are matched longest-first, so dated variants
# (e.g. solar-pro3-250127) resolve via their family prefix.
# Sources: Solar Pro 3 = 128K, Solar Pro 2 = 64K, Solar Mini = 32K,
# Solar Open 2 = 256K.
"solar-open2": 262144, # 256K
"solar-pro3": 131072,
"solar-pro": 131072, # rolling alias → latest Solar Pro (currently pro3)
"solar-pro2": 65536,
"solar-mini": 32768,
# Tencent — Hy3 Preview (Hunyuan) with 256K context window.