myagent-ai 1.23.59 → 1.23.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agents/main_agent.py +2 -2
- package/myagent/package.json +1 -1
- package/package.json +1 -1
package/agents/main_agent.py
CHANGED
|
@@ -793,8 +793,8 @@ class MainAgent(BaseAgent):
|
|
|
793
793
|
+ self.SYSTEM_PROMPT.split("\n", 1)[1]
|
|
794
794
|
)
|
|
795
795
|
system_content = _prompt_with_placeholder.replace(_CONTEXT_PLACEHOLDER, context_xml)
|
|
796
|
-
system_content=system_content+"最后,再检查输出格式,确保满足以下要求:"+xml_prompt
|
|
797
|
-
|
|
796
|
+
system_content = system_content + "最后,再检查输出格式,确保满足以下要求:" + xml_prompt
|
|
797
|
+
|
|
798
798
|
# Step 3: 构建 LLM 消息(必须包含 role=user,否则 OpenAI 兼容 API 返回 400)
|
|
799
799
|
messages = [Message(role="system", content=system_content)]
|
|
800
800
|
|
package/myagent/package.json
CHANGED