🚀 feat(base.py): add 'name' field to ValidatePromptRequest model for improved data validation

The 'name' field is added to the ValidatePromptRequest model to enhance data validation. This field will allow for more specific identification and validation of prompt names in the API.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-07-03 23:10:56 -03:00
commit 88dbff7bf5

View file

@ -18,6 +18,7 @@ class FrontendNodeRequest(FrontendNode):
class ValidatePromptRequest(BaseModel):
name: str
template: str
frontend_node: FrontendNodeRequest