feat: llm support jinja fe (#4260)

This commit is contained in:
Joel 2024-05-10 18:14:05 +08:00 • committed by GitHub
commit 01555463d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 621 additions and 177 deletions

View file

@ -26,6 +26,7 @@ const Panel: FC<NodePanelProps<TemplateTransformNodeType>> = ({
const {
readOnly,
inputs,
availableVars,
handleVarListChange,
handleVarNameChange,
handleAddVariable,
@ -65,7 +66,7 @@ const Panel: FC<NodePanelProps<TemplateTransformNodeType>> = ({
</Field>
<Split />
<CodeEditor
nodeId={id}
availableVars={availableVars}
varList={inputs.variables}
onAddVar={handleAddVariable}
isInNode