Update api spec (#186)

* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
zoo-github-actions-auth[bot]
2024-01-16 15:04:35 -08:00
committed by GitHub
parent ec68e67645
commit 8bebb40c9f
48 changed files with 6787 additions and 428 deletions

View File

@ -6,7 +6,12 @@ from ..models.output_file import OutputFile
class CodeOutput(BaseModel):
"""Output of the code being executed."""
"""Output of the code being executed.
<details><summary>JSON schema</summary>
```json { "description": "Output of the code being executed.", "type": "object", "properties": { "output_files": { "description": "The contents of the files requested if they were passed.", "type": "array", "items": { "$ref": "#/components/schemas/OutputFile" } }, "stderr": { "description": "The stderr of the code.", "default": "", "type": "string" }, "stdout": { "description": "The stdout of the code.", "default": "", "type": "string" } } } ``` </details>
"""
output_files: Optional[List[OutputFile]] = None