Update api spec (#350)

* 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]
2025-01-06 17:29:07 -08:00
committed by GitHub
parent a514b3f984
commit c5054020bb
4 changed files with 882 additions and 870 deletions

File diff suppressed because it is too large Load Diff

View File

@ -79,7 +79,11 @@ def sync(
*,
client: Client,
) -> Optional[Union[TextToCadIteration, Error]]:
"""This operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.""" # noqa: E501
"""Even if you give specific ranges to edit, the model might change more than just those in order to make the changes you requested without breaking the code.
You always get the whole code back, even if you only changed a small part of it.
This operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.""" # noqa: E501
return sync_detailed(
body=body,
@ -108,7 +112,11 @@ async def asyncio(
*,
client: Client,
) -> Optional[Union[TextToCadIteration, Error]]:
"""This operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.""" # noqa: E501
"""Even if you give specific ranges to edit, the model might change more than just those in order to make the changes you requested without breaking the code.
You always get the whole code back, even if you only changed a small part of it.
This operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.""" # noqa: E501
return (
await asyncio_detailed(

View File

@ -82,7 +82,9 @@ def sync(
*,
client: Client,
) -> Optional[Error]:
"""This endpoint requires authentication by any Zoo user. The user must be the owner of the text-to-CAD model, in order to give feedback.""" # noqa: E501
"""This can be a text-to-CAD creation or iteration.
This endpoint requires authentication by any Zoo user. The user must be the owner of the ML response, in order to give feedback.""" # noqa: E501
return sync_detailed(
id=id,
@ -115,7 +117,9 @@ async def asyncio(
*,
client: Client,
) -> Optional[Error]:
"""This endpoint requires authentication by any Zoo user. The user must be the owner of the text-to-CAD model, in order to give feedback.""" # noqa: E501
"""This can be a text-to-CAD creation or iteration.
This endpoint requires authentication by any Zoo user. The user must be the owner of the ML response, in order to give feedback.""" # noqa: E501
return (
await asyncio_detailed(

View File

@ -3708,7 +3708,7 @@
"beta"
],
"summary": "Iterate on a CAD model with a prompt.",
"description": "This operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.",
"description": "Even if you give specific ranges to edit, the model might change more than just those in order to make the changes you requested without breaking the code.\n\nYou always get the whole code back, even if you only changed a small part of it.\n\nThis operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.",
"operationId": "create_text_to_cad_iteration",
"requestBody": {
"content": {
@ -13719,8 +13719,8 @@
"tags": [
"ml"
],
"summary": "Give feedback to a specific text-to-CAD response.",
"description": "This endpoint requires authentication by any Zoo user. The user must be the owner of the text-to-CAD model, in order to give feedback.",
"summary": "Give feedback to a specific ML response.",
"description": "This can be a text-to-CAD creation or iteration.\n\nThis endpoint requires authentication by any Zoo user. The user must be the owner of the ML response, in order to give feedback.",
"operationId": "create_text_to_cad_model_feedback",
"parameters": [
{