Spaces:
Running
Running
muxi feng
commited on
Commit
·
a08e190
1
Parent(s):
95af8b5
修复参数错误
Browse files- app/requests.ts +1 -1
app/requests.ts
CHANGED
@@ -411,7 +411,7 @@ export async function requestChatStream(
|
|
411 |
true,
|
412 |
);
|
413 |
controller.abort();
|
414 |
-
chatMessage(JSON.stringify(response.data[0].url).replace(reg, "$1"),"
|
415 |
}else if(res.status === 401){
|
416 |
console.error("Unauthorized");
|
417 |
options?.onError(new Error("Unauthorized"), res.status);
|
|
|
411 |
true,
|
412 |
);
|
413 |
controller.abort();
|
414 |
+
chatMessage(JSON.stringify(response.data[0].url).replace(reg, "$1"),"图片","system")
|
415 |
}else if(res.status === 401){
|
416 |
console.error("Unauthorized");
|
417 |
options?.onError(new Error("Unauthorized"), res.status);
|