diff --git a/webapp/packages/supersonic-fe/src/pages/Agent/AgentForm.tsx b/webapp/packages/supersonic-fe/src/pages/Agent/AgentForm.tsx index a2906ef85..9c83a235f 100644 --- a/webapp/packages/supersonic-fe/src/pages/Agent/AgentForm.tsx +++ b/webapp/packages/supersonic-fe/src/pages/Agent/AgentForm.tsx @@ -54,10 +54,10 @@ const AgentForm: React.FC = ({ editAgent, onSaveAgent, onCreateToolBtnCli provider: 'OPEN_AI', }, }, - embeddingStore: { - provider: 'MILVUS', - timeOut: 60, - }, + // embeddingStore: { + // provider: 'MILVUS', + // timeOut: 60, + // }, agentConfig: { ...defaultAgentConfig, }, @@ -346,71 +346,54 @@ const AgentForm: React.FC = ({ editAgent, onSaveAgent, onCreateToolBtnCli ), }, - { - label: '向量库配置', - key: 'embeddingStore', - children: ( -
- - - - {formData?.embeddingStore?.provider === 'IN_MEMORY' ? ( - <> - - - - - ) : ( - <> - - - - { - const value = event.target.value; - return encryptPassword(value); - }} - getValueProps={(value) => { - return { - value: value ? decryptPassword(value) : '', - }; - }} - > - - - - - - - )} -
- ), - }, - { - label: '提示词配置', - key: 'promptConfig', - children: ( -
- - - -
- ), - }, + // { + // label: '向量库配置', + // key: 'embeddingStore', + // children: ( + //
+ // + // + // + // {formData?.embeddingStore?.provider === 'IN_MEMORY' ? ( + // <> + // + // + // + // + // ) : ( + // <> + // + // + // + // { + // const value = event.target.value; + // return encryptPassword(value); + // }} + // getValueProps={(value) => { + // return { + // value: value ? decryptPassword(value) : '', + // }; + // }} + // > + // + // + // + // + // + // + // )} + //
+ // ), + // }, { label: '提示词配置', key: 'promptConfig',