2 Commits

Author SHA1 Message Date
end-4 1703d9bdad fix gpt only shows reasoning content (#1254) (#1576) 2025-07-06 20:54:07 +02:00
zoe chen f225ec1975 fix gpt only shows reasoning content (#1254) 2025-07-05 16:15:01 +08:00
+1 -1
View File
@@ -280,7 +280,7 @@ class GPTService extends Service {
}
}
else {
if (aiResponse.hasReasoningContent) {
if (aiResponse.hasReasoningContent && !aiResponse.parsedReasoningContent) {
aiResponse.parsedReasoningContent = true;
aiResponse.addDelta(`\n</think>\n`);
}