Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Pass Form Instance to GoogleModal Form Component (#8586)

Tuan Le7f19f604a949
diff --git a/web/src/pages/user-setting/setting-model/google-modal/index.tsx b/web/src/pages/user-setting/setting-model/google-modal/index.tsx
index 5bc7af5101..a404118a5a 100644
--- a/web/src/pages/user-setting/setting-model/google-modal/index.tsx
+++ b/web/src/pages/user-setting/setting-model/google-modal/index.tsx
@@ -47,7 +47,7 @@ const GoogleModal = ({
onCancel={hideModal}
okButtonProps={{ loading }}
>
- <Form>
+ <Form form={form}>
<Form.Item<FieldType>
label={t('modelType')}
name="model_type"