mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-02 07:11:49 +00:00
fix(compressor): ABC compliance — total_tokens, api_mode, logger consistency
This commit is contained in:
parent
75643a6154
commit
8b2adead78
5 changed files with 29 additions and 5 deletions
|
|
@ -87,5 +87,4 @@ def test_plugin_engine_update_model_args():
|
|||
assert kw["context_length"] == 131_072
|
||||
assert "model" in kw
|
||||
assert "provider" in kw
|
||||
# Should NOT pass api_mode — the ABC doesn't accept it
|
||||
assert "api_mode" not in kw
|
||||
assert "api_mode" in kw
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue