diff options
| author | Kujtim Hoxha <[email protected]> | 2025-04-08 20:46:40 +0200 |
|---|---|---|
| committer | Kujtim Hoxha <[email protected]> | 2025-04-08 20:46:40 +0200 |
| commit | 0d8d324ac6e640b95f4f2f62fd189399a959319a (patch) | |
| tree | 0e877863a0db1b3c44e6d46368df4c477113a216 /internal/llm/tools/fetch.go | |
| parent | fde04bbf85ea641a33a282b354d63f227f9945fb (diff) | |
| download | opencode-0d8d324ac6e640b95f4f2f62fd189399a959319a.tar.gz opencode-0d8d324ac6e640b95f4f2f62fd189399a959319a.zip | |
cleanup retry
Diffstat (limited to 'internal/llm/tools/fetch.go')
| -rw-r--r-- | internal/llm/tools/fetch.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/internal/llm/tools/fetch.go b/internal/llm/tools/fetch.go index 5ea0c7633..19e644281 100644 --- a/internal/llm/tools/fetch.go +++ b/internal/llm/tools/fetch.go @@ -121,11 +121,7 @@ func (t *fetchTool) Run(ctx context.Context, call ToolCall) (ToolResponse, error ToolName: FetchToolName, Action: "fetch", Description: fmt.Sprintf("Fetch content from URL: %s", params.URL), - Params: FetchPermissionsParams{ - URL: params.URL, - Format: params.Format, - Timeout: params.Timeout, - }, + Params: FetchPermissionsParams(params), }, ) |
