From 690082c68a7f3e94b05d2403ab7ef68ccdab430b Mon Sep 17 00:00:00 2001 From: ZouJin Date: Thu, 9 Mar 2023 18:50:07 +1100 Subject: [PATCH] =?UTF-8?q?=E5=A6=82=E9=81=87=E4=BA=BA=E8=AE=BE=E5=B4=A9?= =?UTF-8?q?=E5=A1=8C=E9=87=8D=E7=BD=AE=E8=81=8A=E5=A4=A9=E7=B3=BB=E7=BB=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- VPet-Simulator.Windows/WinDesign/TalkBox.xaml.cs | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f216744..fdcca1c 100644 --- a/README.md +++ b/README.md @@ -198,7 +198,7 @@ 感谢以下参与的开发人员(按贡献程度排序) -* 占位符 +* [Wreathlit](https://github.com/Wreathlit) ## 动画版权声明与授权 diff --git a/VPet-Simulator.Windows/WinDesign/TalkBox.xaml.cs b/VPet-Simulator.Windows/WinDesign/TalkBox.xaml.cs index 4da4a00..4d186fc 100644 --- a/VPet-Simulator.Windows/WinDesign/TalkBox.xaml.cs +++ b/VPet-Simulator.Windows/WinDesign/TalkBox.xaml.cs @@ -102,7 +102,9 @@ namespace VPet_Simulator.Windows set["aiopen"][(gbol)"startup"] = false; rettype = false; } - else if (responseString.ToLower().Contains("是ChatGPT")) + else if (responseString.ToLower().Contains("ChatGPT") || + ((responseString.ToLower().Contains("AI") || responseString.ToLower().Contains("语言")) && responseString.ToLower().Contains("模型")) + || (responseString.ToLower().Contains("程序") && (responseString.ToLower().Contains("机器人") || responseString.ToLower().Contains("计算机")))) { Dispatcher.Invoke(() => btn_startup.Visibility = Visibility.Visible); set["aiopen"][(gbol)"startup"] = false;