mirror of
https://github.com/langgenius/dify.git
synced 2026-05-09 21:28:25 +08:00
fix: user editor can also choose file
This commit is contained in:
parent
e6e9b7ae94
commit
4bb364411c
@ -246,6 +246,8 @@ const Panel: FC<NodePanelProps<LLMNodeType>> = ({
|
||||
{/* Readonly User Query */}
|
||||
<div className="mt-4">
|
||||
<Editor
|
||||
instanceId={`${id}-memory-query-prompt-editor`}
|
||||
nodeId={id}
|
||||
title={(
|
||||
<div className="flex items-center space-x-1">
|
||||
<div className="text-xs font-semibold uppercase text-text-secondary">user</div>
|
||||
@ -267,6 +269,7 @@ const Panel: FC<NodePanelProps<LLMNodeType>> = ({
|
||||
nodesOutputVars={availableVars}
|
||||
availableNodes={availableNodesWithParent}
|
||||
isSupportFileVar
|
||||
isSupportSandbox={isSupportSandbox}
|
||||
/>
|
||||
|
||||
{inputs.memory.query_prompt_template && !inputs.memory.query_prompt_template.includes('{{#sys.query#}}') && (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user