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 {
type: "fail",
result: await da.text()