diff options
Diffstat (limited to 'internal/llm/tools')
| -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), }, ) |
