Skip to content

Commit 9a69c5b

Browse files
authored
Merge pull request #6118 from ChatGPTNextWeb/feat/issue-6104-deepseek-reasoning-content
2 parents c41e86f + be645aa commit 9a69c5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ export function trimTopic(topic: string) {
1616
return (
1717
topic
1818
// fix for gemini
19-
.replace(/^["""*]+|[""*]+$/g, "")
20-
.replace(/["""",.!?*]*$/, "")
19+
.replace(/^["*]+|["*]+$/g, "")
20+
.replace(/[",.!?*]*$/, "")
2121
);
2222
}
2323

0 commit comments

Comments
 (0)