feat: 模型提示词、剩余额度、对话状态优化
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user