diff options
| author | Paul Buetow <paul@buetow.org> | 2025-09-03 15:55:34 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-09-03 15:55:34 +0300 |
| commit | 71f0d04bd558433cebf1b05845c9fa0e2957eba8 (patch) | |
| tree | 911a3cab02ecb212cc4221bdd24b46bdbea21fb8 /internal/lsp/server.go | |
| parent | b089ce13904d225a77ed2a4825fa88366a57442c (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.go | 7 |
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. |
