feat: tool oauth

This commit is contained in:
zxhlyh
2025-07-03 17:55:52 +08:00
parent 31eb8548ef
commit c53d5c105b
8 changed files with 458 additions and 0 deletions

View File

@ -14,6 +14,8 @@ import Loading from '@/app/components/base/loading'
import OutputVars, { VarItem } from '@/app/components/workflow/nodes/_base/components/output-vars'
import StructureOutputItem from '@/app/components/workflow/nodes/_base/components/variable/object-child-tree-panel/show'
import { Type } from '../llm/types'
import ToolAuth from '@/app/components/tools/tool-auth'
import Authorization from '@/app/components/tools/tool-auth/authorization'
const i18nPrefix = 'workflow.nodes.tool'
@ -53,6 +55,10 @@ const Panel: FC<NodePanelProps<ToolNodeType>> = ({
return (
<div className='pt-2'>
<div className='px-4 py-2'>
<ToolAuth />
<Authorization />
</div>
{!readOnly && isShowAuthBtn && (
<>
<div className='px-4'>