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

@ -1429,6 +1429,7 @@ def init_agent(
base_url=agent.base_url,
api_key=getattr(agent, "api_key", ""),
provider=agent.provider,
api_mode=agent.api_mode,
)
if not agent.quiet_mode:
_ra().logger.info("Using context engine: %s", _selected_engine.name)