Skip to content

Commit

Permalink
feat: change model from davinci to gpt-turbo for code completion (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinjinir authored Jan 19, 2024
1 parent 48c5916 commit 5e8f900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/chatgpt/flows/code_completions/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ M.complete = function()
set_loading(true)

Api.completions({
model = "text-davinci-003",
model = "gpt-3.5-turbo-instruct",
prompt = prefix,
suffix = suffix,
max_tokens = 2048,
Expand Down

0 comments on commit 5e8f900

Please sign in to comment.