mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-20 15:33:54 +00:00
fix(upstage): map 'ultra' reasoning effort to Solar's high
Main added max/ultra effort levels (#62650) after this PR branched; without the mapping 'ultra' silently fell through to the medium default. Matches the xhigh/max collapse-to-strongest convention used by other profiles.
This commit is contained in:
parent
0d01831919
commit
f88cac71bc
2 changed files with 4 additions and 3 deletions
|
|
@ -78,7 +78,7 @@ class TestUpstageReasoning:
|
|||
assert extra_body == {}
|
||||
assert top_level == {"reasoning_effort": effort}
|
||||
|
||||
@pytest.mark.parametrize("effort", ["xhigh", "max"])
|
||||
@pytest.mark.parametrize("effort", ["xhigh", "max", "ultra"])
|
||||
def test_pro_strong_efforts_collapse_to_high(self, upstage_profile, effort):
|
||||
_, top_level = upstage_profile.build_api_kwargs_extras(
|
||||
reasoning_config={"enabled": True, "effort": effort}, model="solar-pro2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue