🚀 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:
parent
d5c7fb9dc5
commit
88dbff7bf5
1 changed files with 1 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ class FrontendNodeRequest(FrontendNode):
|
|||
|
||||
|
||||
class ValidatePromptRequest(BaseModel):
|
||||
name: str
|
||||
template: str
|
||||
frontend_node: FrontendNodeRequest
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue