mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 15:31:05 +08:00
Fix: An empty message notification pops up at the top of the agent conversation. (#16353)
This commit is contained in:
@@ -565,8 +565,9 @@ export const buildDslGlobalVariables = (
|
||||
return { globals: globalVariablesResult, variables: globalVariables };
|
||||
};
|
||||
|
||||
// TODO: This is caused by `useSendMessageBySSE`; it is recommended to sort out the logic.
|
||||
export const receiveMessageError = (res: any) =>
|
||||
res && (res?.response.status !== 200 || res?.data?.code !== 0);
|
||||
res && res?.response.status !== 200;
|
||||
|
||||
// Replace the id in the object with text
|
||||
export const replaceIdWithText = (
|
||||
|
||||
Reference in New Issue
Block a user