fix(compressor): ABC compliance — total_tokens, api_mode, logger consistency

This commit is contained in:
0z1-ghb 2026-05-20 01:26:35 +03:00 committed by Teknium
parent 75643a6154
commit 8b2adead78
5 changed files with 29 additions and 5 deletions

View file

@ -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