feat: feature/1.5-Data Integration

This commit is contained in:
ningyv
2025-02-17 11:30:52 +08:00
parent ed8c2f286c
commit eaecc5c80a
@@ -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) =>
({