如遇人设崩塌重置聊天系统

This commit is contained in:
ZouJin 2023-03-09 18:50:07 +11:00
parent af42026dd8
commit 690082c68a
2 changed files with 4 additions and 2 deletions

View File

@ -198,7 +198,7 @@
感谢以下参与的开发人员(按贡献程度排序)
* 占位符
* [Wreathlit](https://github.com/Wreathlit)
## 动画版权声明与授权

View File

@ -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;