Skip to content

fix(console): 修复工具处理器中错误信息的 XML 标签不匹配问题 (#59)#69

Merged
SunYanbox merged 1 commit intodevelopfrom
59-bug-mismatched-xml-tags-in-error-message-in-tool_handlerpy
May 1, 2026
Merged

fix(console): 修复工具处理器中错误信息的 XML 标签不匹配问题 (#59)#69
SunYanbox merged 1 commit intodevelopfrom
59-bug-mismatched-xml-tags-in-error-message-in-tool_handlerpy

Conversation

@SunYanbox
Copy link
Copy Markdown
Owner

  • 修复问题: 修正 tool_handler.py 中异常捕获逻辑生成的 XML 闭合标签错误
    • <ErrorExecute> 的闭合标签从错误的 /<ErrorExecute> 更正为 </ErrorExecute>
    • 确保 func_result 变量拼接的字符串符合标准 XML 格式规范

- 修复问题: 修正 tool_handler.py 中异常捕获逻辑生成的 XML 闭合标签错误
  * 将 `<ErrorExecute>` 的闭合标签从错误的 `/<ErrorExecute>` 更正为 `</ErrorExecute>`
  * 确保 `func_result` 变量拼接的字符串符合标准 XML 格式规范
@SunYanbox SunYanbox added bug Something isn't working documentation Improvements or additions to documentation labels May 1, 2026
@SunYanbox SunYanbox merged commit 262d5cb into develop May 1, 2026
3 checks passed
@SunYanbox SunYanbox deleted the 59-bug-mismatched-xml-tags-in-error-message-in-tool_handlerpy branch May 1, 2026 03:57
@SunYanbox SunYanbox self-assigned this May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Mismatched XML tags in error message in tool_handler.py / tool_handler.py 中错误信息的 XML 标签不匹配

1 participant