fix: Restore Prompt Component functionality by disallowing use of {code} template variable (#8622)
fix: Disallow the use of {code} as a template variable
This commit is contained in:
parent
f04e336f1d
commit
19ce474b3a
1 changed files with 1 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ _INVALID_CHARACTERS = {
|
|||
}
|
||||
|
||||
_INVALID_NAMES = {
|
||||
"code",
|
||||
"input_variables",
|
||||
"output_parser",
|
||||
"partial_variables",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue