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