diff options
| author | Kujtim Hoxha <[email protected]> | 2025-04-04 14:23:08 +0200 |
|---|---|---|
| committer | Kujtim Hoxha <[email protected]> | 2025-04-04 14:23:08 +0200 |
| commit | 6bb1c84f7f7f0430f2808d50c533e923aae4c787 (patch) | |
| tree | 2a92f077570d505d5ae0387660a0d246de0fa43a /internal/llm/agent | |
| parent | eb9877ee20c44b7cd34f78e9110d315db71977f6 (diff) | |
| download | opencode-6bb1c84f7f7f0430f2808d50c533e923aae4c787.tar.gz opencode-6bb1c84f7f7f0430f2808d50c533e923aae4c787.zip | |
Improve Sourcegraph tool with context window and fix diagnostics
- Add context_window parameter to control code context display
- Fix LSP diagnostics notification handling with proper async waiting
- Switch to keyword search pattern for better results
- Add Sourcegraph tool to task agent
🤖 Generated with termai
Co-Authored-By: termai <[email protected]>
Diffstat (limited to 'internal/llm/agent')
| -rw-r--r-- | internal/llm/agent/task.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/llm/agent/task.go b/internal/llm/agent/task.go index 97611e62b..9737d41b8 100644 --- a/internal/llm/agent/task.go +++ b/internal/llm/agent/task.go @@ -34,6 +34,7 @@ func NewTaskAgent(app *app.App) (Agent, error) { tools.NewGlobTool(), tools.NewGrepTool(), tools.NewLsTool(), + tools.NewSourcegraphTool(), tools.NewViewTool(app.LSPClients), }, model: model, |
