Plugin Type
Pipe
Plugin Name
Filter - GitHub Copilot SDK Files Filter
Plugin Name (if not in list)
No response
Description
在与workspace->tools->computer-tool-use共存时,使用github-copilot-sdk模型报错如下:
External tool "view" conflicts with a built-in tool of the same name. Set overridesBuiltInTool: true to explicitly override it. Agent working in: /app/backend/data/copilot_workspace/8ca3ba9e-a8c3-4534-a7be-1062fee8cc42/0f2f8f72-8331-40d2-8d6f-88e5c85219df Connection established, waiting for response... Processing failed: External tool "view" conflicts with a built-in tool of the same name. Set overridesBuiltInTool: true to explicitly override it. External tool "view" conflicts with a built-in tool of the same name. Set overridesBuiltInTool: true to explicitly override it. External tool "view" conflicts with a built-in tool of the same name. Set overridesBuiltInTool: true to explicitly override it. [Error: External tool "view" conflicts with a built-in tool of the same name. Set overridesBuiltInTool: true to explicitly override it.]
Steps to Reproduce
- 在workspace->tools->安装如下脚本:
https://github.com/Wide-Moat/open-computer-use/raw/refs/heads/main/openwebui/tools/computer_use_tools.py
- 使用copilot-sdk-llm,提交任何问题
- 模型返回报错
OpenWebUI Version
0.9.6
Operating System & Container
Docker: 29.4.0
Error Logs (Optional)
Additional Information (Optional)
删除computer-use-tools后,copilot-sdk-llm正常返回。
模型研究发现:
- _convert_openwebui_tool_to_sdk() 方法在调用 define_tool() 时没有处理命名冲突。
- 按照如下建议修改后,返回正常。
# 修改 github_copilot_sdk.py 中 _convert_openwebui_tool_to_sdk 方法末尾 return define_tool( name=sanitized_tool_name, description=tool_description, params_type=ParamsModel, overrides_built_in_tool=True, # ← 新增这一行 )(_tool)
Checklist
Plugin Type
Pipe
Plugin Name
Filter - GitHub Copilot SDK Files Filter
Plugin Name (if not in list)
No response
Description
在与workspace->tools->computer-tool-use共存时,使用github-copilot-sdk模型报错如下:
External tool "view" conflicts with a built-in tool of the same name. Set overridesBuiltInTool: true to explicitly override it. Agent working in: /app/backend/data/copilot_workspace/8ca3ba9e-a8c3-4534-a7be-1062fee8cc42/0f2f8f72-8331-40d2-8d6f-88e5c85219df Connection established, waiting for response... Processing failed: External tool "view" conflicts with a built-in tool of the same name. Set overridesBuiltInTool: true to explicitly override it. External tool "view" conflicts with a built-in tool of the same name. Set overridesBuiltInTool: true to explicitly override it. External tool "view" conflicts with a built-in tool of the same name. Set overridesBuiltInTool: true to explicitly override it. [Error: External tool "view" conflicts with a built-in tool of the same name. Set overridesBuiltInTool: true to explicitly override it.]Steps to Reproduce
https://github.com/Wide-Moat/open-computer-use/raw/refs/heads/main/openwebui/tools/computer_use_tools.py
OpenWebUI Version
0.9.6
Operating System & Container
Docker: 29.4.0
Error Logs (Optional)
Additional Information (Optional)
删除computer-use-tools后,copilot-sdk-llm正常返回。
模型研究发现:
# 修改 github_copilot_sdk.py 中 _convert_openwebui_tool_to_sdk 方法末尾 return define_tool( name=sanitized_tool_name, description=tool_description, params_type=ParamsModel, overrides_built_in_tool=True, # ← 新增这一行 )(_tool)Checklist