fix: build errors
This commit is contained in:
parent
50f3499fda
commit
6ed0dee17d
1 changed files with 1 additions and 1 deletions
|
|
@ -341,7 +341,7 @@ export function useChatbot(): ChatbotHookReturn {
|
|||
if (!workflowIdToStop && messages.length > 0) {
|
||||
// Try to extract workflowId from the latest message (supports workflowId and conversationId)
|
||||
const latestMessage = messages[messages.length - 1];
|
||||
workflowIdToStop = getConversationId(latestMessage) || undefined;
|
||||
workflowIdToStop = getConversationId(latestMessage) ?? null;
|
||||
if (workflowIdToStop) {
|
||||
console.log('Extracted workflowId from latest message:', workflowIdToStop);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue