Merge branch 'feature/1.5-cx' into 'main'

feat: feature/1.5-Data Integration

See merge request apipark/APIPark!201
This commit is contained in:
lichunxian
2025-02-17 11:32:25 +08:00
@@ -320,6 +320,13 @@ const AiServiceInsideRouterCreate = () => {
const handlerSubmit: () => Promise<boolean> | undefined = () => {
return drawerAddFormRef.current?.save()?.then((res: { id: string; config: string, type: string, provider: string }) => {
getDefaultModelConfig({
provider: res.provider,
id: res.id,
type: res.type,
replaceDefaultLlm: false,
setIcon: true
})
setDefaultLlm(
(prev) =>
({