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
a204cc71ad
commit
a362147413
@ -64,8 +64,6 @@ export class ChatGPTApi implements LLMApi {
|
|||||||
|
|
||||||
const requestPayload = {
|
const requestPayload = {
|
||||||
messages,
|
messages,
|
||||||
options.functions,
|
|
||||||
function_call: "auto",
|
|
||||||
stream: options.config.stream,
|
stream: options.config.stream,
|
||||||
model: modelConfig.model,
|
model: modelConfig.model,
|
||||||
temperature: modelConfig.temperature,
|
temperature: modelConfig.temperature,
|
||||||
|
Loading…
Reference in New Issue
Block a user