ragflow / web /src /utils /chat.ts
balibabu
feat: Fetch conversation list by @tanstack/react-query and displays error message that task_executor does not exist #2088 (#2112)
11e3284
raw
history blame
201 Bytes
import { EmptyConversationId } from '@/constants/chat';
export const isConversationIdExist = (conversationId: string) => {
return conversationId !== EmptyConversationId && conversationId !== '';
};