mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-23 03:26:53 +08:00
### What problem does this PR solve? Fix: The avatar and greeting message no longer appear in the Agent iFrame. [#12410] ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -622,10 +622,10 @@ export const useFetchExternalAgentInputs = () => {
|
||||
isFetching: loading,
|
||||
refetch,
|
||||
} = useQuery<IInputs>({
|
||||
queryKey: [AgentApiAction.FetchExternalAgentInputs],
|
||||
queryKey: [AgentApiAction.FetchExternalAgentInputs, sharedId],
|
||||
initialData: {} as IInputs,
|
||||
refetchOnReconnect: false,
|
||||
refetchOnMount: false,
|
||||
// refetchOnMount: false,
|
||||
refetchOnWindowFocus: false,
|
||||
gcTime: 0,
|
||||
enabled: !!sharedId,
|
||||
|
||||
Reference in New Issue
Block a user