summaryrefslogtreecommitdiff
path: root/internal/lsp/document_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/lsp/document_test.go')
-rw-r--r--internal/lsp/document_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/lsp/document_test.go b/internal/lsp/document_test.go
index 1a3f909..3dc970d 100644
--- a/internal/lsp/document_test.go
+++ b/internal/lsp/document_test.go
@@ -8,7 +8,6 @@ import (
"testing"
"codeberg.org/snonux/hexai/internal/appconfig"
- "codeberg.org/snonux/hexai/internal/llm"
)
func newTestServer() *Server {
@@ -40,9 +39,9 @@ func newTestServer() *Server {
docs: make(map[string]*document),
cfg: cfg,
codeActionSubsystem: codeActionSubsystem{
- altClients: make(map[string]llm.Client),
- llmProvider: canonicalProvider(cfg.Provider),
+ llmClientRegistry: llmClientRegistry{llmProvider: canonicalProvider(cfg.Provider)},
},
+ completionSubsystem: completionSubsystem{completionState: completionState{}},
}
}