Repository navigation
Conversation
…high/max Upstage retires solar-pro3 on 2026-10-30 (KST) and names solar-pro4 as the replacement, so make solar-pro4 the provider default. The Solar API accepts reasoning_effort xhigh and max, so stop clamping them to high; ultra now maps to max. Signed-off-by: YoungjuKim <[email protected]>
This branch has not been deployed
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.
What does this PR do?
Two small updates to the Upstage Solar provider:
solar-pro3->solar-pro4. Upstage retiressolar-pro3on 2026-10-30 (KST) and namessolar-pro4as the replacement (model history).fallback_models[0]is the setup default, so newhermes modelsetups would otherwise land on a model that stops working in two weeks. The pickers already listsolar-pro4/solar-mini4(Addsolar-pro4andsolar-mini4to model pickers #131645); this moves the provider default and the offline catalog.SOLAR_EFFORTSgainsxhighandmax. The API acceptsnone,minimal,low,medium,high,xhigh,max(chat API);xhigh/maxwere being clamped down tohigh. With the wider set, Hermes'ultraclamps tomax(nearest weaker level) instead ofhigh. Unknown non-ladder values still collapse tohighas before (feat(reasoning): add max and ultra effort levels #62650 behavior unchanged).Related Issue
None found. #64747 (open) also edits this plugin and its tests, for
nonehandling; the two should merge cleanly, and I am happy to rebase on top of it if it lands first.Type of Change
Changes Made
plugins/model-providers/upstage/__init__.py:fallback_models=("solar-pro4",), docstringagent/reasoning_effort.py:SOLAR_EFFORTS = ("low", "medium", "high", "xhigh", "max")tests/plugins/model_providers/test_upstage_profile.py: pass-through cases forxhigh/max, newultra -> maxcase, model ids moved tosolar-pro4tests/fixtures/provider_wire_snapshot.json: theupstagecells'modelmoves fromsolar-pro3tosolar-pro4(only change; the wire is otherwise identical)Live checks (2026-10-17,
https://api.upstage.ai/v1)POST /chat/completionsstream_options.include_usagedelta.reasoningtools->tool_callsresponse_formatjson_schemastrictreasoning_effortomittedreasoning_tokens0)reasoning_effortnone/minimalreasoning_effortlowmediumhighxhighmaxmessage.reasoning+reasoning_tokensreasoningorreasoning_content(incl. a tool-call turn)reasoning_effort: "foo"How to Test
pytest tests/plugins/model_providers/test_upstage_profile.py tests/hermes_cli/test_upstage_provider.py tests/agent/transports/test_provider_wire_snapshot.py -qHERMES_UPDATE_WIRE_SNAPSHOT=1 python -m pytest tests/agent/transports/test_provider_wire_snapshot.pyshould leave the fixture unchangedpython scripts/checkChecklist
Code
pytest tests/ -qand all tests pass — ran the three files above onmain@ 848fc0a in a clean Python 3.12 container withuv sync --group dev: 81 passed, 6 failed. The same 6 fail on unmodifiedmainin that environment (wire snapshots for anthropic, minimax, minimax-cn, minimax-oauth, tencent-tokenplan and base-url:kimi-coding need optional extras such asanthropicthat the dev group does not install).HERMES_UPDATE_WIRE_SNAPSHOT=1leaves the fixture unchanged. Full suite left to CI.python scripts/checkpasses (to be run in CI)medium,low/xhigh/maxpass through,ultra->max,minimaland disabled omit the field, unknown ->high,fallback_models == ("solar-pro4",)Documentation & Housekeeping
solar-pro3as the default)cli-config.yaml.example— N/ACONTRIBUTING.md/AGENTS.md— N/ADisclosure: I work at Upstage.
AI assistance: drafted with an AI coding assistant (Claude); I reviewed the changes and ran the checks listed above.
🤖 Generated with Claude Code