From 71f0d04bd558433cebf1b05845c9fa0e2957eba8 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 3 Sep 2025 15:55:34 +0300 Subject: 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. --- internal/lsp/server.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'internal/lsp/server.go') 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. -- cgit v1.2.3