fix: ReferenceError sessionId is not defined
parent
8a85c675ef
commit
345a055d1a
|
|
@ -120,8 +120,8 @@ export function useChatSender(args: {
|
|||
|
||||
const handleSendStream = async (text: string) => {
|
||||
if (!agentId) return;
|
||||
if (!sessionId) {
|
||||
notify.error('会话未初始化,请稍后重试');
|
||||
if (!roomId) {
|
||||
notify.error('房间未初始化,请稍后重试');
|
||||
return;
|
||||
}
|
||||
// 解析 @提及的目标 Agent
|
||||
|
|
|
|||
Loading…
Reference in New Issue