diff --git a/web/src/i18n/en.ts b/web/src/i18n/en.ts index 4d284905..e7f71f5f 100644 --- a/web/src/i18n/en.ts +++ b/web/src/i18n/en.ts @@ -3096,7 +3096,7 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re editPackage: 'Edit Package', viewDetail: 'View full package details', - noLimit: 'Unlimited', + noLimit: 'Infinite', }, }, }; diff --git a/web/src/i18n/zh.ts b/web/src/i18n/zh.ts index aea3b965..2c484846 100644 --- a/web/src/i18n/zh.ts +++ b/web/src/i18n/zh.ts @@ -3060,7 +3060,7 @@ export const zh = { editPackage: '编辑套餐', viewDetail: '查看完整套餐详情', - noLimit: '不限制', + noLimit: '无限', }, }, } \ No newline at end of file diff --git a/web/src/views/ApplicationConfig/Agent.tsx b/web/src/views/ApplicationConfig/Agent.tsx index b694d1eb..4d86fba7 100644 --- a/web/src/views/ApplicationConfig/Agent.tsx +++ b/web/src/views/ApplicationConfig/Agent.tsx @@ -62,7 +62,6 @@ const Agent = forwardRef(null); const modelConfigModalRef = useRef(null) const [modelList, setModelList] = useState([]) @@ -94,7 +93,6 @@ const Agent = forwardRef { - setLoading(true) getApplicationConfig(id as string).then(res => { const response = res as Config const { skills, variables } = response @@ -127,8 +125,6 @@ const Agent = forwardRef { - setLoading(false) }) } @@ -421,7 +417,6 @@ const Agent = forwardRef - {loading && }
diff --git a/web/src/views/Workflow/hooks/useWorkflowGraph.ts b/web/src/views/Workflow/hooks/useWorkflowGraph.ts index 535a4eb0..efc637c2 100644 --- a/web/src/views/Workflow/hooks/useWorkflowGraph.ts +++ b/web/src/views/Workflow/hooks/useWorkflowGraph.ts @@ -451,11 +451,11 @@ export const useWorkflowGraph = ({ graphRef.current.addEdges(edgeList.filter(vo => vo !== null)) } + graphRef.current.centerContent() // Initialize after completion, display nodes in visible area if (nodes.length > 0 || edges.length > 0) { setTimeout(() => { if (graphRef.current) { - graphRef.current.centerContent() graphRef.current.getNodes().forEach(node => { if (!node.getData()?.cycle) node.toFront(); });