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 {
|
||||
if (aiResponse.hasReasoningContent) {
|
||||
if (aiResponse.hasReasoningContent && !aiResponse.parsedReasoningContent) {
|
||||
aiResponse.parsedReasoningContent = true;
|
||||
aiResponse.addDelta(`\n</think>\n`);
|
||||
}
|
||||
@@ -334,4 +334,4 @@ class GPTService extends Service {
|
||||
}
|
||||
}
|
||||
|
||||
export default new GPTService();
|
||||
export default new GPTService();
|
||||
|
||||
Reference in New Issue
Block a user