Skip to content

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Dec 4, 2025

Automated Release PR

2.0.0-alpha.10 (2025-12-11)

Full Changelog: v2.0.0-alpha.9...v2.0.0-alpha.10

Features

Bug Fixes

  • types: allow pyright to infer TypedDict types within SequenceNotStr (048f2b7)

Chores

  • add missing docstrings (a1c8329)
  • internal: avoid using unstable Python versions in tests (6268112)
  • Update model list CLI to use api parameter for dedicated filtering (#195) (95cc672)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions


Note

Adds fine_tuning.estimate_price, supports dedicated filter on models.list, updates chat response_format to structured outputs, and refreshes CLI/tests/docs with version bump.

  • API:
    • Add client.fine_tuning.estimate_price (sync/async) with new params/types (FineTuningEstimatePriceParams/Response).
    • Extend client.models.list to accept dedicated filter via query; remove custom dedicated filtering helper.
    • Expand chat response_format to structured outputs (text, json_schema, json_object) with new TypedDicts and docstrings.
  • CLI:
    • Update together models list to pass dedicated API param and simplify implementation.
  • Docs:
    • Update api.md for new endpoints/params; README nested params example now shows endpoints.create.
  • Types:
    • Improve SequenceNotStr for pyright inference; add/clarify docstrings across models (audio/voice, autoscaling, endpoints, hardware, video, etc.).
  • Tests/CI:
    • Add tests for estimate_price and models dedicated filter; adjust chat tests for new response_format.
    • Test script avoids unstable Python versions and tweaks Pydantic v1 skip logic.
  • Release:
    • Bump version to 2.0.0-alpha.10; update changelog and stats (44 endpoints).

Written by Cursor Bugbot for commit 300c8ec. This will update automatically on new commits. Configure here.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 9808936 to fef5569 Compare December 4, 2025 23:30
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from fef5569 to 4049af3 Compare December 5, 2025 21:12
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 4049af3 to 50e77c4 Compare December 8, 2025 18:28
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is being reviewed by Cursor Bugbot

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.

# Pydantic v1 does not support Python 3.14, skip these tests
if [[ "$UV_PYTHON" != "3.14" ]]; then
# Skip Pydantic v1 tests on latest Python (not supported)
if [[ "$UV_PYTHON" != "$PY_VERSION_MAX" ]]; then
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Version comparison breaks when UV_PYTHON is externally set

The comparison "$UV_PYTHON" != "$PY_VERSION_MAX" now compares against ">=3.14.0", but when UV_PYTHON is set externally (e.g., UV_PYTHON=3.14), it won't match this string. Previously the check was "$UV_PYTHON" != "3.14" which would correctly skip Pydantic v1 tests on Python 3.14. Now, if a user runs with UV_PYTHON=3.14, the Pydantic v1 tests will incorrectly execute and fail since Pydantic v1 doesn't support Python 3.14.

Fix in Cursor Fix in Web

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 50e77c4 to 3ca517b Compare December 8, 2025 18:39
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 3ca517b to 1fe9f63 Compare December 8, 2025 19:10
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 1fe9f63 to d7e3e51 Compare December 8, 2025 19:28
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from d7e3e51 to e490640 Compare December 10, 2025 17:03
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from e490640 to ce6f41e Compare December 11, 2025 19:33
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from ce6f41e to 300c8ec Compare December 11, 2025 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants