mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-08 13:12:08 +00:00
test: expect model slug in autoraise notice dict (follow-up to gpt-5.4 extension)
This commit is contained in:
parent
60391d0eef
commit
5de42325db
1 changed files with 2 additions and 2 deletions
|
|
@ -204,7 +204,7 @@ def test_codex_gpt55_autoraise_still_applies_to_builtin_compressor():
|
|||
|
||||
agent = AIAgent(**_codex_agent_kwargs())
|
||||
|
||||
assert agent._compression_threshold_autoraised == {"from": 0.50, "to": 0.85}
|
||||
assert agent._compression_threshold_autoraised == {"model": "gpt-5.5", "from": 0.50, "to": 0.85}
|
||||
assert agent.context_compressor.threshold_percent == 0.85
|
||||
# Gateway parity: the notice is stashed for replay on turn 1.
|
||||
assert agent._compression_warning and "85%" in agent._compression_warning
|
||||
|
|
@ -235,5 +235,5 @@ def test_codex_gpt55_autoraise_applies_when_plugin_engine_missing():
|
|||
|
||||
agent = AIAgent(**_codex_agent_kwargs())
|
||||
|
||||
assert agent._compression_threshold_autoraised == {"from": 0.50, "to": 0.85}
|
||||
assert agent._compression_threshold_autoraised == {"model": "gpt-5.5", "from": 0.50, "to": 0.85}
|
||||
assert agent.context_compressor.threshold_percent == 0.85
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue