Skip to content

Commit 092832a

Browse files
committed
fix max_tokens
1 parent f7bcd72 commit 092832a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dot_config/nvim/init.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ if vim.env.OPENAI_API_KEY ~= nil then
241241
-- as a rule of thumb
242242
local gpt_4_config = {
243243
model = "gpt-4-turbo",
244-
max_tokens = 8192,
244+
max_tokens = 4096,
245245
temperature = 0.1,
246246
}
247247

@@ -257,7 +257,7 @@ if vim.env.OPENAI_API_KEY ~= nil then
257257
local gpt_3_5_config = {
258258
model = "gpt-3.5-turbo",
259259
max_tokens = 4096,
260-
temperature = 0,
260+
temperature = 0.1,
261261
}
262262

263263
local gpt_3_5_commands = {

0 commit comments

Comments
 (0)