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

@ -11,7 +11,7 @@ import styles from './index.less';
const AssistantSetting = ({ show, form }: ISegmentedContentProps) => {
const { t } = useTranslate('chat');
const { data } = useFetchTenantInfo();
const { data } = useFetchTenantInfo(true);
const normFile = (e: any) => {
if (Array.isArray(e)) {