Compare commits

...

5 Commits

Author SHA1 Message Date
Vinlic b3bfb220f6 Release 0.0.16 2024-04-25 14:47:12 +08:00
Vinlic a2db68f9c2 清除合并中无描述md图像 2024-04-25 14:46:52 +08:00
Vinlic e84aed2c42 Merge branch 'master' of https://github.com/LLM-Red-Team/qwen-free-api 2024-04-25 14:43:48 +08:00
Vinlic 25d75dcd24 Release 0.0.15 2024-04-25 14:43:27 +08:00
Vinlic 1455261a22 修复多轮对话下图像生成幻觉问题 2024-04-25 14:38:00 +08:00
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "qwen-free-api",
"version": "0.0.13",
"version": "0.0.16",
"description": "Qwen Free API Server",
"type": "module",
"main": "dist/index.js",

View File

@ -361,7 +361,7 @@ function messagesPrepare(messages: any[], refs: any[] = []) {
return (content += `<|im_start|>${message.role || "user"}\n${
message.content
}<|im_end|>\n`);
}, "");
}, "").replace(/\!\[.*\]\(.+\)/g, "");
logger.info("\n对话合并\n" + content);
return [
{