mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-27 19:04:25 +01:00
Fix tests (#20)
This commit is contained in:
@@ -29,7 +29,7 @@ class TaskModel(Base):
|
||||
|
||||
task_id = Column(Integer, primary_key=True, autoincrement=True)
|
||||
input = Column(String)
|
||||
additional_input = Column(String)
|
||||
additional_input = Dict
|
||||
|
||||
artifacts = relationship("ArtifactModel", back_populates="task")
|
||||
|
||||
|
||||
@@ -50,6 +50,7 @@ class StepOutput(BaseModel):
|
||||
class TaskRequestBody(BaseModel):
|
||||
input: str = Field(
|
||||
...,
|
||||
min_length=1,
|
||||
description="Input prompt for the task.",
|
||||
example="Write the words you receive to the file 'output.txt'.",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user