mirror of
https://github.com/langgenius/dify.git
synced 2026-04-24 21:05:48 +08:00
chore: sandbox llm not show tools
This commit is contained in:
@ -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'
|
||||
|
||||
@ -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 - 折叠区 */}
|
||||
|
||||
Reference in New Issue
Block a user