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

@ -33,8 +33,8 @@ def _model_supports_reasoning(model: str | None) -> bool:
other (incl. future) Solar model as reasoning-capable.
``None``/empty model True: the provider default (``fallback_models[0]``,
the ``solar-pro`` rolling alias) is reasoning-capable, so an unset model
gets the same default-on behaviour.
``solar-pro3``) is reasoning-capable, so an unset model gets the same
default-on behaviour.
"""
m = (model or "").strip().lower()
return not any(marker in m for marker in _NON_REASONING_MODEL_MARKERS)
@ -103,10 +103,8 @@ upstage = UpstageProfile(
base_url="https://api.upstage.ai/v1",
auth_type="api_key",
# default_aux_model left empty → auxiliary side tasks use the main model.
# entry [0] is the setup default. solar-pro is a rolling alias for the
# latest Solar Pro, so the default tracks the current flagship.
# entry [0] is the setup default — solar-pro3, the current Solar Pro flagship.
fallback_models=(
"solar-pro",
"solar-pro3",
),
)