Skip to content

JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.

Python

fix(agentserver): configure exact image polling exemption

weixin_46351149240720e919e9
diff --git a/jiuwenswarm/resources/config.yaml b/jiuwenswarm/resources/config.yaml
index 794922a73a..cf6079f6eb 100644
--- a/jiuwenswarm/resources/config.yaml
+++ b/jiuwenswarm/resources/config.yaml
@@ -935,6 +935,12 @@ agent_ras:
global_breaker_threshold: 10
# 未知/错误工具连续失败达到该次数时 CRITICAL(WARNING 为阈值一半)
unknown_tool_threshold: 10
+ # Match the outer tool and selected top-level arguments exactly.
+ # Add rules for other polling functions without exempting the whole tool.
+ ignored_tool_calls:
+ - tool_name: invoke_tool
+ argument_equals:
+ tool_name: image_get_run
# LLM 文本/思考死循环检测(门槛单位:字符)
llm_thinking_loop:
enabled: true