mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 05:47:11 +00:00
fix: api3
This commit is contained in:
parent
8553525935
commit
f7ee904414
2 changed files with 8 additions and 5 deletions
|
|
@ -36,11 +36,14 @@ export class OfficialChatGPTClient {
|
|||
content: {
|
||||
content_type: 'text',
|
||||
parts: [prompt]
|
||||
}
|
||||
},
|
||||
metadata: {}
|
||||
}
|
||||
],
|
||||
model: Config.useGPT4 ? 'gpt-4' : 'text-davinci-002-render-sha',
|
||||
parent_message_id: parentMessageId
|
||||
parent_message_id: parentMessageId,
|
||||
timezone_offset_min: -480,
|
||||
history_and_training_disabled: false
|
||||
}
|
||||
if (conversationId) {
|
||||
body.conversation_id = conversationId
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue