Skip to content

Commit

Permalink
Clean up OpenAPI spec (#52)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub Actions <[email protected]>
  • Loading branch information
waynehamadi and GitHub Actions authored Aug 28, 2023
1 parent 2bb0490 commit d8fcb8f
Show file tree
Hide file tree
Showing 3 changed files with 508 additions and 83 deletions.
8 changes: 4 additions & 4 deletions docs/src/app/endpoints/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The agent exposes the following endpoints (see the [OpenAPI file](https://github
<Property name="input" type="string" required="undefined">
Input prompt for the task.
</Property>
<Property name="additional_input" type="any" required="undefined">
<Property name="additional_input" type="object" required="undefined">
Input parameters for the task. Any value is allowed.
</Property>
</Properties>
Expand Down Expand Up @@ -118,7 +118,7 @@ curl http://localhost:8000/agent/tasks/[task_id]

### Response

Returned list of agent's step IDs for the specified task.
Returned list of agent's steps for the specified task.

</Col>
<Col sticky>
Expand Down Expand Up @@ -153,7 +153,7 @@ curl http://localhost:8000/agent/tasks/[task_id]/steps
<Property name="input" type="string" required="undefined">
Input prompt for the step.
</Property>
<Property name="additional_input" type="any" required="undefined">
<Property name="additional_input" type="object" required="undefined">
Input parameters for the task step. Any value is allowed.
</Property>
</Properties>
Expand Down Expand Up @@ -228,7 +228,7 @@ curl http://localhost:8000/agent/tasks/[task_id]/steps/[step_id]

### Response

Returned the content of the artifact.
Returned the list of artifacts for the task.

</Col>
<Col sticky>
Expand Down
Loading

0 comments on commit d8fcb8f

Please sign in to comment.