mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-02-01 16:15:07 +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,
|
isFetching: loading,
|
||||||
refetch,
|
refetch,
|
||||||
} = useQuery<IInputs>({
|
} = useQuery<IInputs>({
|
||||||
queryKey: [AgentApiAction.FetchExternalAgentInputs],
|
queryKey: [AgentApiAction.FetchExternalAgentInputs, sharedId],
|
||||||
initialData: {} as IInputs,
|
initialData: {} as IInputs,
|
||||||
refetchOnReconnect: false,
|
refetchOnReconnect: false,
|
||||||
refetchOnMount: false,
|
// refetchOnMount: false,
|
||||||
refetchOnWindowFocus: false,
|
refetchOnWindowFocus: false,
|
||||||
gcTime: 0,
|
gcTime: 0,
|
||||||
enabled: !!sharedId,
|
enabled: !!sharedId,
|
||||||
|
|||||||
Reference in New Issue
Block a user