فهرست منبع

Merge pull request #6118 from ChatGPTNextWeb/feat/issue-6104-deepseek-reasoning-content

RiverRay 10 ماه پیش
والد
کامیت
9a69c5bd7c
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      app/utils.ts

+ 2 - 2
app/utils.ts

@@ -16,8 +16,8 @@ export function trimTopic(topic: string) {
   return (
     topic
       // fix for gemini
-      .replace(/^["""*]+|[""*]+$/g, "")
-      .replace(/[,。!?""""、,.!?*]*$/, "")
+      .replace(/^["“”*]+|["“”*]+$/g, "")
+      .replace(/[,。!?”“"、,.!?*]*$/, "")
   );
 }