tool oauth

This commit is contained in:
zxhlyh
2025-07-08 18:20:30 +08:00
parent c53d5c105b
commit 0f1be60daa
23 changed files with 978 additions and 268 deletions

View File

@ -14,8 +14,9 @@ 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'
import {
PluginAuth,
} from '@/app/components/plugins/plugin-auth'
const i18nPrefix = 'workflow.nodes.tool'
@ -56,8 +57,9 @@ const Panel: FC<NodePanelProps<ToolNodeType>> = ({
return (
<div className='pt-2'>
<div className='px-4 py-2'>
<ToolAuth />
<Authorization />
<PluginAuth
provider={currCollection?.name}
/>
</div>
{!readOnly && isShowAuthBtn && (
<>