diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-10 19:34:02 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-10 19:34:02 +0200 |
| commit | de5029e6d4a7efffcccfb08d98770b1c1c4f54fe (patch) | |
| tree | 7429b9a72c96393ca74d323faf4f989224e83db0 /internal/lsp/document_test.go | |
| parent | ba4b4b340b17450fa86122f227a75ef054e0ad53 (diff) | |
task bf088a70: extract LSP client and completion state
Diffstat (limited to 'internal/lsp/document_test.go')
| -rw-r--r-- | internal/lsp/document_test.go | 5 |
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{}}, } } |
