在设置页用 Monaco 编辑器创建沙箱化 JavaScript 自定义工具,模型也可自行创建和管理这些工具。
custom_tool_create
custom_tool_remove
custom_tools_list
在 GitHub 阅读完整 README