diff --git a/src/api/controllers/chat.ts b/src/api/controllers/chat.ts index 8050da0..585cace 100644 --- a/src/api/controllers/chat.ts +++ b/src/api/controllers/chat.ts @@ -610,7 +610,7 @@ async function receiveStream(model: string, convId: string, stream: any) { } // 处理联网搜索 else if (!silentSearch && result.event == 'search_plus' && result.msg && result.msg.type == 'get_res') - refContent += `${result.msg.title}(${result.msg.url})\n`; + refContent += `${result.msg.title} - ${result.msg.url}\n`; // else // logger.warn(result.event, result); } @@ -707,7 +707,7 @@ function createTransStream(model: string, convId: string, stream: any, endCallba choices: [ { index: 0, delta: { - content: `检索 ${result.msg.title}(${result.msg.url}) ...\n` + content: `检索 ${result.msg.title} - ${result.msg.url} ...\n` }, finish_reason: null } ],