mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-15 17:30:13 +08:00
Fix syntax error in tool_loop_agent_runner.py
This commit is contained in:
@@ -127,7 +127,7 @@ class ToolLoopAgentRunner(BaseAgentRunner[TContext]):
|
||||
# <=0 will never do compress
|
||||
max_context_tokens=provider.provider_config.get("max_context_tokens", 4096),
|
||||
# enforce max turns before compression
|
||||
enforce_max_turns=self.enforce_max_turns if self.enforce_max_turns != -1 else 15,,
|
||||
enforce_max_turns=self.enforce_max_turns if self.enforce_max_turns != -1 else 15,
|
||||
truncate_turns=self.truncate_turns,
|
||||
llm_compress_instruction=self.llm_compress_instruction,
|
||||
llm_compress_keep_recent=self.llm_compress_keep_recent,
|
||||
|
||||
Reference in New Issue
Block a user