Fix: support hide env & conversation var in prompt editor (#7256)

This commit is contained in:
KVOJJJin 2024-08-14 15:14:39 +08:00 • committed by GitHub
commit 429e85f5d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View file

@ -23,6 +23,8 @@ const Panel: FC<NodePanelProps<AnswerNodeType>> = ({
const { availableVars, availableNodesWithParent } = useAvailableVarList(id, {
onlyLeafNodeVar: false,
hideChatVar: true,
hideEnv: true,
filterVar,
})