chore: sandbox llm not show tools

This commit is contained in:
Joel
2026-01-27 13:42:28 +08:00
parent 53bc060cea
commit 1ea7d2d9a1
2 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,4 @@
/* eslint-disable ts/no-explicit-any */
import type { Node } from 'reactflow'
import type { SchemaRoot } from '@/app/components/workflow/nodes/llm/types'
import type { ToolVarInputs } from '@/app/components/workflow/nodes/tool/types'

View File

@ -235,12 +235,14 @@ const Panel: FC<NodePanelProps<LLMNodeType>> = ({
/>
</>
)}
<Tools
nodeId={id}
tools={inputs.tools}
maxIterations={inputs.max_iterations}
hideMaxIterations
/>
{!isSupportSandbox && (
<Tools
nodeId={id}
tools={inputs.tools}
maxIterations={inputs.max_iterations}
hideMaxIterations
/>
)}
</div>
{/* Advanced Settings - 折叠区 */}