fix: 修复bug

将 responseResult.Item1 的比较从严格等于改为包含判断,兼容部分 AI 工具返回带前后缀的异常字符串(例如 "exception: ..." 等),避免漏掉异常分支处理。修改文件:Yi.Framework.AiHub.Domain/Managers/AiGateWayManager.cs。
This commit is contained in:
chenchun
2026-02-06 16:56:37 +08:00
parent 0b30dbb8de
commit a040b7a16a

View File

@@ -642,7 +642,7 @@ public class AiGateWayManager : DomainService
isFirst = false;
}
if (responseResult.Item1=="exception")
if (responseResult.Item1.Contains("exception"))
{
//兼容部分ai工具问题
continue;