Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Allow null input in StepRequestBody for Continuous Chat Mode

hunteraraujoe56a2b1f4198
diff --git a/forge/autogpt/sdk/schema.py b/forge/autogpt/sdk/schema.py
index 64d79d9529..d77918343d 100644
--- a/forge/autogpt/sdk/schema.py
+++ b/forge/autogpt/sdk/schema.py
@@ -117,7 +117,7 @@ class StepRequestBody(BaseModel):
None, description="The name of the task step.", example="Write to file"
)
input: str = Field(
- ...,
+ None,
min_length=1,
description="Input prompt for the step.",
example="Washington",