mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-05 07:41:39 +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
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue