mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-06 12:55:05 -05:00
Restructuring the Repo to make it clear the difference between classic autogpt and the autogpt platform: * Move the "classic" projects `autogpt`, `forge`, `frontend`, and `benchmark` into a `classic` folder * Also rename `autogpt` to `original_autogpt` for absolute clarity * Rename `rnd/` to `autogpt_platform/` * `rnd/autogpt_builder` -> `autogpt_platform/frontend` * `rnd/autogpt_server` -> `autogpt_platform/backend` * Adjust any paths accordingly
19 lines
462 B
Python
19 lines
462 B
Python
from __future__ import annotations
|
|
|
|
from typing import Any, Optional
|
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
|
|
class TaskRequestBody(BaseModel):
|
|
input: str = Field(
|
|
min_length=1,
|
|
description="Input prompt for the task.",
|
|
examples=["Write the words you receive to the file 'output.txt'."],
|
|
)
|
|
additional_input: Optional[dict[str, Any]] = Field(default_factory=dict)
|
|
|
|
|
|
class TaskEvalRequestBody(TaskRequestBody):
|
|
eval_id: str
|