fix(copilot): correct typo for gpt4 (#164)

This commit is contained in:
Siyu Liu 2024-08-23 15:47:54 +10:00 committed by GitHub
parent 279ec97582
commit 1245508063
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -172,7 +172,7 @@ M.parse_curl_args = function(provider, code_opts)
insecure = base.allow_insecure, insecure = base.allow_insecure,
headers = H.generate_headers(M.copilot.token.token, M.copilot.sessionid, M.copilot.machineid), headers = H.generate_headers(M.copilot.token.token, M.copilot.sessionid, M.copilot.machineid),
body = vim.tbl_deep_extend("force", { body = vim.tbl_deep_extend("force", {
mode = base.model, model = base.model,
n = 1, n = 1,
top_p = 1, top_p = 1,
stream = true, stream = true,