Skip to content

Commit

Permalink
fix(copilot): correct typo for gpt4 (yetone#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
SiyuLiu0329 authored Aug 23, 2024
1 parent 279ec97 commit 1245508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/avante/providers/copilot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ M.parse_curl_args = function(provider, code_opts)
insecure = base.allow_insecure,
headers = H.generate_headers(M.copilot.token.token, M.copilot.sessionid, M.copilot.machineid),
body = vim.tbl_deep_extend("force", {
mode = base.model,
model = base.model,
n = 1,
top_p = 1,
stream = true,
Expand Down

0 comments on commit 1245508

Please sign in to comment.