diff --git a/webapp/packages/supersonic-fe/src/components/SelectTMEPerson/index.less b/webapp/packages/supersonic-fe/src/components/SelectTMEPerson/index.less index 4067901a5..ec93cc852 100644 --- a/webapp/packages/supersonic-fe/src/components/SelectTMEPerson/index.less +++ b/webapp/packages/supersonic-fe/src/components/SelectTMEPerson/index.less @@ -7,3 +7,12 @@ .userText { margin-left: 10px; } + +.selectPerson { + :global { + .ant-select-selection-item { + color: rgba(0, 0, 0, 0.88)!important; + background-color: rgba(0, 0, 0, 0.06)!important; + } + } +} \ No newline at end of file diff --git a/webapp/packages/supersonic-fe/src/components/SelectTMEPerson/index.tsx b/webapp/packages/supersonic-fe/src/components/SelectTMEPerson/index.tsx index 7c50c8c91..0a1f5d20b 100644 --- a/webapp/packages/supersonic-fe/src/components/SelectTMEPerson/index.tsx +++ b/webapp/packages/supersonic-fe/src/components/SelectTMEPerson/index.tsx @@ -37,6 +37,7 @@ const SelectTMEPerson: FC = ({ placeholder, value, isMultiple = true, onC mode={isMultiple ? 'multiple' : undefined} allowClear showSearch + className={styles.selectPerson} onChange={onChange} > {userList.map((item) => { diff --git a/webapp/packages/supersonic-fe/src/pages/Agent/AgentForm.tsx b/webapp/packages/supersonic-fe/src/pages/Agent/AgentForm.tsx index 6c4c00e60..fa863be21 100644 --- a/webapp/packages/supersonic-fe/src/pages/Agent/AgentForm.tsx +++ b/webapp/packages/supersonic-fe/src/pages/Agent/AgentForm.tsx @@ -8,6 +8,8 @@ import { uuid, jsonParse } from '@/utils/utils'; import ToolsSection from './ToolsSection'; import globalStyles from '@/global.less'; import { QuestionCircleOutlined } from '@ant-design/icons'; +import SelectTMEPerson from '@/components/SelectTMEPerson'; +import FormItemTitle from '@/components/FormHelper/FormItemTitle'; import { getLlmModelTypeList, getLlmModelAppList, getLlmList } from '../../services/system'; import MemorySection from './MemorySection'; @@ -223,7 +225,16 @@ const AgentForm: React.FC = ({ editAgent, onSaveAgent, onCreateToolBtnCli > - + + // } + > + +
{examples.map((example) => {