feat: 模型提示词、剩余额度、对话状态优化

This commit is contained in:
Gsh
2025-10-16 01:20:11 +08:00
parent c5c22224cf
commit 799dd08ec0
9 changed files with 158 additions and 70 deletions

View File

@@ -45,9 +45,9 @@ const debouncedSend = useDebounceFn(async () => {
});
senderValue.value = ''; // 清空输入框
}
catch (error) {
catch (error: any) {
console.error('发送消息失败:', error);
ElMessage.error('发送消息失败,请重试');
ElMessage.error(error);
}
finally {
isSending.value = false;