mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-08 19:16:37 +08:00
Update openai.ts
This commit is contained in:
parent
fbf5abaa85
commit
a204cc71ad
@ -64,6 +64,8 @@ export class ChatGPTApi implements LLMApi {
|
||||
|
||||
const requestPayload = {
|
||||
messages,
|
||||
options.functions,
|
||||
function_call: "auto",
|
||||
stream: options.config.stream,
|
||||
model: modelConfig.model,
|
||||
temperature: modelConfig.temperature,
|
||||
|
Loading…
Reference in New Issue
Block a user