Fix: Fixed the issue that the agent embedded page needs to be logged in #9750 (#9751)

### What problem does this PR solve?

Fix: Fixed the issue that the agent embedded page needs to be logged in
#9750

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2025-08-27 14:18:00 +08:00
committed by GitHub
parent cf0011be67
commit cbdabbb58f
3 changed files with 18 additions and 8 deletions

View File

@ -13,8 +13,14 @@ import {
FormMessage,
} from '@/components/ui/form';
import { Input } from '@/components/ui/input';
import {
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
} from '@/components/ui/select';
import { Textarea } from '@/components/ui/textarea';
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select';
import { useTranslate } from '@/hooks/common-hooks';
import { useFormContext } from 'react-hook-form';
@ -47,6 +53,9 @@ export default function ChatBasicSetting() {
value={field.value}
onValueChange={field.onChange}
maxFileCount={1}
description={t('photoTip', {
keyPrefix: 'knowledgeConfiguration',
})}
/>
</FormControl>
<FormMessage />