myagent-ai 1.23.62 → 1.23.63

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.
@@ -795,8 +795,8 @@ class MainAgent(BaseAgent):
795
795
  + self.SYSTEM_PROMPT.split("\n", 1)[1]
796
796
  )
797
797
  system_content = _prompt_with_placeholder.replace(_CONTEXT_PLACEHOLDER, context_xml)
798
- # 追加 XML 输出格式规范(确保 LLM 每次都能看到格式要求)
799
- system_content = system_content + "\n最后,再检查输出格式,确保满足以下要求:\n" + xml_prompt
798
+ system_content = system_content + "\n最后,再检查输出格式,确保满足以下要求:" + self.xml_prompt
799
+
800
800
  # Step 3: 构建 LLM 消息(必须包含 role=user,否则 OpenAI 兼容 API 返回 400)
801
801
  messages = [Message(role="system", content=system_content)]
802
802
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myagent-ai",
3
- "version": "1.23.62",
3
+ "version": "1.23.63",
4
4
  "description": "本地桌面端执行型AI助手 - Open Interpreter 风格 | Local Desktop Execution-Oriented AI Assistant",
5
5
  "main": "main.py",
6
6
  "bin": {