Compare commits
5 Commits
9a7eefaa5d
...
b3bfb220f6
Author | SHA1 | Date |
---|---|---|
Vinlic | b3bfb220f6 | |
Vinlic | a2db68f9c2 | |
Vinlic | e84aed2c42 | |
Vinlic | 25d75dcd24 | |
Vinlic | 1455261a22 |
|
@ -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",
|
||||
|
|
|
@ -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 [
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue