We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 055f42e commit 1ea163dCopy full SHA for 1ea163d
1 file changed
pkg/tools/builtin/fetch.go
@@ -47,8 +47,7 @@ func (h *fetchHandler) CallTool(ctx context.Context, toolCall tools.ToolCall) (*
47
Timeout: h.timeout,
48
}
49
if params.Timeout > 0 {
50
- timeout := time.Duration(params.Timeout) * time.Second
51
- client = &http.Client{Timeout: timeout}
+ client.Timeout = time.Duration(params.Timeout) * time.Second
52
53
54
var results []FetchResult
0 commit comments