diff options
Diffstat (limited to 'internal/lsp/chat_prompt_test.go')
| -rw-r--r-- | internal/lsp/chat_prompt_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/lsp/chat_prompt_test.go b/internal/lsp/chat_prompt_test.go index 25767ab..1f7b266 100644 --- a/internal/lsp/chat_prompt_test.go +++ b/internal/lsp/chat_prompt_test.go @@ -10,7 +10,9 @@ func TestDetectAndHandleChat_UsesConfiguredSystemPrompt(t *testing.T) { s := newTestServer() cap := &captureLLM{} s.llmClient = cap - s.promptChatSystem = "CHAT-SYS" + cfg := s.cfg + cfg.PromptChatSystem = "CHAT-SYS" + s.cfg = cfg uri := "file:///chat.txt" // Avoid nil writer in applyChatEdits var out bytes.Buffer |
