summaryrefslogtreecommitdiff
path: root/internal/lsp/chat_commands_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-10-03 23:50:49 +0300
committerPaul Buetow <paul@buetow.org>2025-10-03 23:50:49 +0300
commit420b5aebf888c638ac096e1476c06eac979ac257 (patch)
tree59434cbc37837399d7b5bc7920ffd7be62f1fc7d /internal/lsp/chat_commands_test.go
parente36a5446bc62842ae3b3e165f66fecb7285a8c6a (diff)
Switch inline prompt markers to >! prefixv0.15.1
Diffstat (limited to 'internal/lsp/chat_commands_test.go')
-rw-r--r--internal/lsp/chat_commands_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/lsp/chat_commands_test.go b/internal/lsp/chat_commands_test.go
index 0e31c7b..ffe31dd 100644
--- a/internal/lsp/chat_commands_test.go
+++ b/internal/lsp/chat_commands_test.go
@@ -50,6 +50,7 @@ func TestHandleReloadCommandReloadsStore(t *testing.T) {
t.Setenv("XDG_CONFIG_HOME", tmp)
t.Setenv("HEXAI_MAX_TOKENS", "321")
+ t.Setenv("HEXAI_PROVIDER", "")
var logBuf bytes.Buffer
logger := log.New(&logBuf, "", 0)
@@ -96,6 +97,7 @@ func TestDetectAndHandleChatExecutesSlashCommand(t *testing.T) {
}
t.Setenv("XDG_CONFIG_HOME", tmp)
t.Setenv("HEXAI_MAX_TOKENS", "")
+ t.Setenv("HEXAI_PROVIDER", "")
var logBuf bytes.Buffer
logger := log.New(&logBuf, "", 0)