3 Commits

Author SHA1 Message Date
clsty 85ce527712 Warn user about unsupported 2025-10-30 11:55:35 +08:00
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
2 changed files with 7 additions and 2 deletions
+2 -2
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`);
}
@@ -334,4 +334,4 @@ class GPTService extends Service {
}
}
export default new GPTService();
export default new GPTService();
+5
View File
@@ -6,6 +6,11 @@ source ./scriptdata/functions
source ./scriptdata/installers
source ./scriptdata/options
printf "\e[31m\n !!ATTENTION!!\n illogical-impulse on AGS is no longer supported. You have to deal with any problems by yourself.\e[00m"
printf "\e[31m\n It's highly recommended to switch to main branch instead.\e[00m"
printf "\e[31m\n To do this, run the following command:\e[00m"
printf "\e[31m\n git checkout main\e[00m"
sleep 10
#####################################################################################
if ! command -v pacman >/dev/null 2>&1; then
printf "\e[31m[$0]: pacman not found, it seems that the system is not ArchLinux or Arch-based distros. Aborting...\e[0m\n"