-
Notifications
You must be signed in to change notification settings - Fork 15
Ruslan/sync with evals #154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✱ Stainless preview buildsThis PR will update the Edit this comment to update it. It will appear in the SDK's changelogs.
|
Pydantic uses |
| 💡 Schema/ObjectHasNoProperties: This schema has neither `properties` nor `additionalProperties` so its type has been interpreted as `unknown`. |
| 💡 Schema/EnumHasOneMember: This enum schema has just one member, so it could be defined using [`const`](https://json-schema.org/understanding-json-schema/reference/const). |
| 💡 Go/SchemaUnionDiscriminatorMissing: This union schema has more than one object variant, but no [`discriminator`](https://www.stainless.com/docs/reference/openapi-support#discriminator) property, so deserializing the union may be inefficient or ambiguous. |
⚠️ togetherai-go studio · code · diff
There was a regression in your SDK.
generate ⚠️→lint ✅→test ❗(prev:test ✅)go get github.com/stainless-sdks/togetherai-go@ff3952f16e69956f873bdacb427abcaa4023531fNew diagnostics (1 warning, 3 note)
⚠️ Endpoint/NotConfigured: `get /evaluations` exists in the OpenAPI spec, but isn't specified in the Stainless config, so code will not be generated for it.💡 Schema/ObjectHasNoProperties: This schema has neither `properties` nor `additionalProperties` so its type has been interpreted as `unknown`. 💡 Schema/EnumHasOneMember: This enum schema has just one member, so it could be defined using [`const`](https://json-schema.org/understanding-json-schema/reference/const). 💡 Go/SchemaUnionDiscriminatorMissing: This union schema has more than one object variant, but no [`discriminator`](https://www.stainless.com/docs/reference/openapi-support#discriminator) property, so deserializing the union may be inefficient or ambiguous.
⚠️ togetherai-python studio · conflict
There was a regression in your SDK.
New diagnostics (2 warning, 3 note)
⚠️ Endpoint/NotConfigured: `get /evaluations` exists in the OpenAPI spec, but isn't specified in the Stainless config, so code will not be generated for it.⚠️ Python/NameNotAllowed: Encountered response property `model_list` which may conflict with Pydantic properties.Pydantic uses
model_as a protected namespace that shouldn't be used for attributes of our own API's models.
Please rename it using the 'renameValue' transform.💡 Schema/ObjectHasNoProperties: This schema has neither `properties` nor `additionalProperties` so its type has been interpreted as `unknown`. 💡 Schema/EnumHasOneMember: This enum schema has just one member, so it could be defined using [`const`](https://json-schema.org/understanding-json-schema/reference/const). 💡 Go/SchemaUnionDiscriminatorMissing: This union schema has more than one object variant, but no [`discriminator`](https://www.stainless.com/docs/reference/openapi-support#discriminator) property, so deserializing the union may be inefficient or ambiguous.
⚠️ togetherai-terraform studio · code · diff
There was a regression in your SDK.
generate ❗→lint ❗→test ❗New diagnostics (2 warning, 3 note)
⚠️ Endpoint/NotConfigured: `get /evaluations` exists in the OpenAPI spec, but isn't specified in the Stainless config, so code will not be generated for it.⚠️ Python/NameNotAllowed: Encountered response property `model_list` which may conflict with Pydantic properties.Pydantic uses
model_as a protected namespace that shouldn't be used for attributes of our own API's models.
Please rename it using the 'renameValue' transform.💡 Schema/ObjectHasNoProperties: This schema has neither `properties` nor `additionalProperties` so its type has been interpreted as `unknown`. 💡 Schema/EnumHasOneMember: This enum schema has just one member, so it could be defined using [`const`](https://json-schema.org/understanding-json-schema/reference/const). 💡 Go/SchemaUnionDiscriminatorMissing: This union schema has more than one object variant, but no [`discriminator`](https://www.stainless.com/docs/reference/openapi-support#discriminator) property, so deserializing the union may be inefficient or ambiguous.
This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push.
Last updated: 2025-11-10 11:38:46 UTC
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the final PR Bugbot will review for you during this billing cycle
Your free Bugbot reviews will reset on December 7
Details
Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
This PR
Syncs the evaluation endpoints with openapi from the repo
How to test
Swagger outputs the following:

This list of endpoints corresponds to what we have. Visual inspection also confirms parameters are correct
Note
Syncs Evaluation endpoints in OpenAPI by adding /evaluation CRUD and model-list routes, deprecating legacy /evaluations*, and refining params, enums, and response schemas.
POST /evaluation→ create job (EvaluationTypedRequest→EvaluationResponse).GET /evaluation→ list jobs withstatus(defaultpending),limit(default10), optionaluserId.GET /evaluation/{id}→ job details (EvaluationJob).GET /evaluation/{id}/status→ job status/results (statusenum,resultsoneOf classify/score/compare).POST /evaluation/{id}/update→ update jobstatus,results, optionalerror.GET /evaluation/model-list→ model list.GET /evaluationsandGET /evaluations/model-listkept with deprecation notes and updated responses/params.tagstoevaluationand updatedoperationIds.resultsshapes.Written by Cursor Bugbot for commit 2fe7421. This will update automatically on new commits. Configure here.