summaryrefslogtreecommitdiff
path: root/internal/lsp/server.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-09-03 15:55:34 +0300
committerPaul Buetow <paul@buetow.org>2025-09-03 15:55:34 +0300
commit71f0d04bd558433cebf1b05845c9fa0e2957eba8 (patch)
tree911a3cab02ecb212cc4221bdd24b46bdbea21fb8 /internal/lsp/server.go
parentb089ce13904d225a77ed2a4825fa88366a57442c (diff)
Phase 1: remove single in-flight LLM gate\n\n- Drop llmBusy state and busy item\n- Remove concurrency guard in completion paths\n- Allow manual invoke (TriggerKind=1) even after whitespace\n- Delete llm_busy_test; update TODO\n\nAll unit tests pass.
Diffstat (limited to 'internal/lsp/server.go')
-rw-r--r--internal/lsp/server.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/internal/lsp/server.go b/internal/lsp/server.go
index 4b72717..2f834ba 100644
--- a/internal/lsp/server.go
+++ b/internal/lsp/server.go
@@ -44,11 +44,8 @@ type Server struct {
// Minimum identifier chars required for manual invoke to bypass prefix checks
manualInvokeMinPrefix int
- // LLM concurrency guard: allow at most one in-flight request
- llmBusy bool
-
- // Dispatch table for JSON-RPC methods → handler functions
- handlers map[string]func(Request)
+ // Dispatch table for JSON-RPC methods → handler functions
+ handlers map[string]func(Request)
}
// ServerOptions collects configuration for NewServer to avoid long parameter lists.