Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9693284

Browse files
committed
fix: typo
1 parent 8abcade commit 9693284

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/mcp/mcp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func (s *Server) RegisterChatGPTTools(client *codersdk.Client) error {
110110
}
111111

112112
for _, tool := range toolsdk.All {
113-
if tool.Name == toolsdk.ToolNameChatGPTSearch || tool.Name == toolsdk.ToolNameChatGPTFetch {
113+
if tool.Name != toolsdk.ToolNameChatGPTSearch && tool.Name != toolsdk.ToolNameChatGPTFetch {
114114
continue
115115
}
116116

0 commit comments

Comments
 (0)