forked from Shinonome/dots-hyprland
fix gpt only shows reasoning content (#1254)
This commit is contained in:
@@ -280,7 +280,7 @@ class GPTService extends Service {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (aiResponse.hasReasoningContent) {
|
if (aiResponse.hasReasoningContent && !aiResponse.parsedReasoningContent) {
|
||||||
aiResponse.parsedReasoningContent = true;
|
aiResponse.parsedReasoningContent = true;
|
||||||
aiResponse.addDelta(`\n</think>\n`);
|
aiResponse.addDelta(`\n</think>\n`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user