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.

fix(forge): Initialize TaskRequestBody.additional_input as None

Reinier van der Leer20cf4cce9223
diff --git a/autogpts/forge/forge/sdk/model.py b/autogpts/forge/forge/sdk/model.py
index 238caae87e..6a55b5a243 100644
--- a/autogpts/forge/forge/sdk/model.py
+++ b/autogpts/forge/forge/sdk/model.py
@@ -73,7 +73,7 @@ class TaskRequestBody(BaseModel):
description="Input prompt for the task.",
example="Write the words you receive to the file 'output.txt'.",
)
- additional_input: Optional[dict] = {}
+ additional_input: Optional[dict] = None
class Task(TaskRequestBody):