From 51b2621d58633aa5c0f5cc7b64616d70d41acc91 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 27 Sep 2025 02:19:22 +0300 Subject: Support multi-provider fan-out across CLI and completions --- internal/lsp/handlers_document.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'internal/lsp/handlers_document.go') diff --git a/internal/lsp/handlers_document.go b/internal/lsp/handlers_document.go index f8ed9ed..9325877 100644 --- a/internal/lsp/handlers_document.go +++ b/internal/lsp/handlers_document.go @@ -172,10 +172,7 @@ func (s *Server) detectAndHandleChat(uri string) { if client == nil { return } - modelUsed := spec.effectiveModel() - if strings.TrimSpace(modelUsed) == "" { - modelUsed = client.DefaultModel() - } + modelUsed := spec.effectiveModel(client.DefaultModel()) logging.Logf("lsp ", "chat llm=requesting model=%s", modelUsed) text, err := s.chatWithStats(ctx, surfaceChat, spec, msgs) if err != nil { -- cgit v1.2.3