mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-09 03:26:38 +08:00
fix image query error!
This commit is contained in:
parent
fd585abace
commit
97c0447e9c
@ -246,7 +246,7 @@ export class ChatGPTApi implements LLMApi {
|
|||||||
delta: { content: string };
|
delta: { content: string };
|
||||||
}>;
|
}>;
|
||||||
const delta = choices[0]?.delta?.content;
|
const delta = choices[0]?.delta?.content;
|
||||||
const textmoderation = json?.prompt_filter_results;
|
const textmoderation = json?.content_filter_results;
|
||||||
|
|
||||||
if (delta) {
|
if (delta) {
|
||||||
remainText += delta;
|
remainText += delta;
|
||||||
|
Loading…
Reference in New Issue
Block a user