diff options
| author | Kujtim Hoxha <[email protected]> | 2025-04-16 21:48:29 +0200 |
|---|---|---|
| committer | Kujtim Hoxha <[email protected]> | 2025-04-21 13:42:02 +0200 |
| commit | cc07f7a186995f428436bc1adc66a264a95171a4 (patch) | |
| tree | 52b69ced5d4fdb400199e95136725bfdff5cd3ef /internal/llm/tools/fetch.go | |
| parent | bbfa60c787f2ec459f1689b9a650ddbec9693ed9 (diff) | |
| download | opencode-cc07f7a186995f428436bc1adc66a264a95171a4.tar.gz opencode-cc07f7a186995f428436bc1adc66a264a95171a4.zip | |
rename to opencode
Diffstat (limited to 'internal/llm/tools/fetch.go')
| -rw-r--r-- | internal/llm/tools/fetch.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/llm/tools/fetch.go b/internal/llm/tools/fetch.go index 91bcb36a0..827755863 100644 --- a/internal/llm/tools/fetch.go +++ b/internal/llm/tools/fetch.go @@ -11,8 +11,8 @@ import ( md "github.com/JohannesKaufmann/html-to-markdown" "github.com/PuerkitoBio/goquery" - "github.com/kujtimiihoxha/termai/internal/config" - "github.com/kujtimiihoxha/termai/internal/permission" + "github.com/kujtimiihoxha/opencode/internal/config" + "github.com/kujtimiihoxha/opencode/internal/permission" ) type FetchParams struct { @@ -146,7 +146,7 @@ func (t *fetchTool) Run(ctx context.Context, call ToolCall) (ToolResponse, error return ToolResponse{}, fmt.Errorf("failed to create request: %w", err) } - req.Header.Set("User-Agent", "termai/1.0") + req.Header.Set("User-Agent", "opencode/1.0") resp, err := client.Do(req) if err != nil { |
