mirror of
https://github.com/LLM-Red-Team/qwen-free-api.git
synced 2024-11-13 16:49:20 +08:00
去除调试
This commit is contained in:
parent
9d74fd2256
commit
f35af3f37a
@ -323,7 +323,6 @@ async function receiveStream(stream: any): Promise<any> {
|
||||
const result = _.attempt(() => JSON.parse(event.data));
|
||||
if (_.isError(result))
|
||||
throw new Error(`Stream response invalid: ${event.data}`);
|
||||
console.log(result)
|
||||
if (!data.id && result.sessionId) data.id = result.sessionId;
|
||||
if (result.msgStatus != "finished") {
|
||||
const text = (result.contents || []).reduce((str, part) => {
|
||||
|
Loading…
Reference in New Issue
Block a user