🐛 fix(base.py): make frontend_node field in PromptValidationResponse optional to handle cases where it is not provided
This commit is contained in:
parent
833fb4ad8f
commit
53c5a3ccde
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ class CodeValidationResponse(BaseModel):
|
|||
class PromptValidationResponse(BaseModel):
|
||||
input_variables: list
|
||||
# object return for tweak call
|
||||
frontend_node: FrontendNodeRequest | object
|
||||
frontend_node: Optional[FrontendNodeRequest] = None
|
||||
|
||||
|
||||
INVALID_CHARACTERS = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue