mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-20 12:14:45 +08:00
Merge pull request #6118 from ChatGPTNextWeb/feat/issue-6104-deepseek-reasoning-content
This commit is contained in:
@@ -16,8 +16,8 @@ export function trimTopic(topic: string) {
|
|||||||
return (
|
return (
|
||||||
topic
|
topic
|
||||||
// fix for gemini
|
// fix for gemini
|
||||||
.replace(/^["""*]+|[""*]+$/g, "")
|
.replace(/^["“”*]+|["“”*]+$/g, "")
|
||||||
.replace(/[,。!?""""、,.!?*]*$/, "")
|
.replace(/[,。!?”“"、,.!?*]*$/, "")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user