mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Fix: New user can't accept invite without configuring LLM API #4379 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -508,7 +508,7 @@ export const useSelectItem = (defaultId?: string) => {
|
||||
};
|
||||
|
||||
export const useFetchModelId = () => {
|
||||
const { data: tenantInfo } = useFetchTenantInfo();
|
||||
const { data: tenantInfo } = useFetchTenantInfo(true);
|
||||
|
||||
return tenantInfo?.llm_id ?? '';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user