✨ feat/gpio_tools: 更新gpio tool,AI可以通过tool直接调用指定IO#8
Merged
Conversation
- 新增 gpio_control 工具,支持 on/off/set/toggle/get 操作 - 新增 ec_tools_build_summary 生成工具摘要用于 system prompt - 补充 GPIO 工具单测及测试辅助钩子 Made-with: Cursor
- 新增 ec_session_append_msg 保存完整 cJSON 消息对象 - session 读取时保留 tool_use/tool_result 数组结构 - agent 循环后保存所有中间消息而非仅最终文本 - 重构 system prompt 使用动态工具摘要替代硬编码列表 Made-with: Cursor
- 复用 esp_http_client 句柄避免 ReAct 循环中重复 TLS 握手 - 连接出错时自动清理并在下次调用时重建 - 增加 LLM 请求/响应调试日志 Made-with: Cursor
- 补充 GPIO 工具、session 工具调用链与预置 skills 的文档描述 - 更新中英文 README 的目录结构、架构图与 skill 扩展说明 - 修正 OpenClaw 链接并加入项目 logo 资源 Made-with: Cursor
Autumn-moutain
approved these changes
Mar 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
新增内容:
重构内容:
优化:
文档: