可信开源代码库-AI大模型登录状态异常处理及添加接口提示

This commit is contained in:
付民康
2025-07-22 10:52:39 +08:00
parent 3a9fbbf5cc
commit c879d6a276
5 changed files with 20 additions and 23 deletions

View File

@@ -505,11 +505,11 @@ const createConversation = async () => {
}
})
} else {
// Message.error('创建会话失败未获取到会话ID');
Message.error(data.msg || '创建会话失败,请重试');
}
} catch (error) {
console.error('创建会话失败:', error);
// Message.error('创建会话失败,请重试');
Message.error(error || '创建会话失败,请重试');
}
};
// 猜你想问接口