This commit is contained in:
kwaroran
2023-07-01 22:15:43 +09:00

View File

@@ -210,7 +210,7 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model'
} }
} }
if(da.headers.get('Content-Type') !== 'text/event-stream'){ if (!da.headers.get('Content-Type').includes('text/event-stream')){
return { return {
type: "fail", type: "fail",
result: await da.text() result: await da.text()