Fix: New user can't accept invite without configuring LLM API #4379 (#4736)

### 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:
balibabu
2025-02-06 11:41:02 +08:00
committed by GitHub
parent 2a07eb69a7
commit c1d71e9a3f
3 changed files with 10 additions and 5 deletions

View File

@ -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 ?? '';
};