AI 导读
Claude Code 推出实验性功能 Code Mode,让 Claude 编写脚本来以复杂方式串联工具,并在长时间命令仍在运行时继续回答用户。可通过设置 CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 开启,文档见 http://code.claude.com/docs/en/code-mode。
推荐理由
官方公告给出了 Code Mode 的实验入口和环境变量,想尝试 Claude Code 新工具调用方式的读者可以直接照做。
正文
Check out Code Mode, a new, experimental way for Claude Code to work with tools. Claude writes scripts that chain your tools together in sophisticated ways, and it can answer you while long commands are still running.
Opt in with CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 http://code.claude.com/docs/en/code-mode
来源:ClaudeDevs · x.com