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:
Eric Hare 2025-06-20 12:50:27 -07:00 • committed by GitHub
commit 19ce474b3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,6 +25,7 @@ _INVALID_CHARACTERS = {
}
_INVALID_NAMES = {
"code",
"input_variables",
"output_parser",
"partial_variables",