mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-02-23 07:04:24 +01:00
Allow null input in StepRequestBody for Continuous Chat Mode (#5164)
This commit is contained in:
@@ -116,8 +116,8 @@ class StepRequestBody(BaseModel):
|
||||
name: Optional[str] = Field(
|
||||
None, description="The name of the task step.", example="Write to file"
|
||||
)
|
||||
input: str = Field(
|
||||
...,
|
||||
input: Optional[str] = Field(
|
||||
None,
|
||||
min_length=1,
|
||||
description="Input prompt for the step.",
|
||||
example="Washington",
|
||||
|
||||
Reference in New Issue
Block a user