Skip to content

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Nov 10, 2025

Automated Release PR

0.31.0 (2025-11-14)

Full Changelog: v0.30.0...v0.31.0

⚠ BREAKING CHANGES

  • api: Access to the api for listing checkpoints has changed its name to list_checkpoints
  • api: Access to fine tuning APIs namespace has changed from fine_tune to fine_tuning

Features

Styles

  • api: Change fine tuning method retrieve_checkpoints to list_checkpoints (b2c168a)
  • api: Change fine tuning namespace to fine_tuning (77b1211)

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

Bumps to 0.31.0 with fine_tuning namespace and listCheckpoints rename, adds audio voices listing, batch cancel, endpoint availability zones and filters, and substantially updates Evals APIs/types.

  • Version: 0.31.0
  • Breaking:
    • Rename client.fineTuneclient.fineTuning; method retrieveCheckpointslistCheckpoints.
    • Endpoints CRUD now return DedicatedEndpoint type.
  • New APIs:
    • client.audio.voices.list() → fetch available TTS voices.
    • client.batches.cancel(id) → cancel batch jobs.
    • client.endpoints.listAvzones() → list availability zones; list supports mine and usage_type filters.
  • Evals Overhaul:
    • Add evals.create, evals.update, evals.status; evals.list moved to /evaluation; new/updated types (EvaluationJob, EvalStatusResponse, etc.).
  • Other:
    • Chat/Completions streaming deltas include optional reasoning field.
    • Docs (api.md), tests, and exports updated accordingly.

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

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.

): APIPromise<FineTuneDeleteResponse> {
const { force } = params;
return this._client.delete(path`/fine-tunes/${id}`, { query: { force }, ...options });
}
Copy link

Choose a reason for hiding this comment

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

Bug: User Input Overrides Required API Parameters

The delete method spreads options after setting the query property, allowing user-provided options.query to override the required force parameter. This means the force value from params could be lost if the caller passes query in options, breaking the API call.

Fix in Cursor Fix in Web

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from 187276e to 3cb3894 Compare November 10, 2025 18:38
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from 3cb3894 to 90edcb9 Compare November 10, 2025 18:39
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from 90edcb9 to 19be098 Compare November 10, 2025 21:40
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from 19be098 to 0eb8879 Compare November 11, 2025 01:32
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.

Bug: API Inconsistency Prevents Reasoning in Chat Creation

The reasoning field is missing from CompletionCreateParams.ChatCompletionAssistantMessageParam but present in the top-level ChatCompletionAssistantMessageParam and in response types. This inconsistency prevents users from including reasoning in assistant messages when creating chat completions, even though the API supports it in responses.

src/resources/chat/completions.ts#L535-L548

export interface ChatCompletionAssistantMessageParam {
role: 'assistant';
content?: string | null;
/**
* @deprecated
*/
function_call?: ChatCompletionAssistantMessageParam.FunctionCall;
name?: string;
tool_calls?: Array<CompletionsAPI.ToolChoice>;

Fix in Cursor Fix in Web


@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from 0eb8879 to 8e3637a Compare November 11, 2025 14:53
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from 8e3637a to db60a09 Compare November 11, 2025 15:01
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from db60a09 to f9d6b89 Compare November 12, 2025 10:10
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from f9d6b89 to c7a061d Compare November 12, 2025 22:17
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from c7a061d to 4939db7 Compare November 12, 2025 22:20
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from 4939db7 to a26e02f Compare November 12, 2025 22:30
BREAKING CHANGE: Access to fine tuning APIs namespace has changed from `fine_tune` to `fine_tuning`
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from a26e02f to 689b6d0 Compare November 14, 2025 14:51
…_checkpoints`

BREAKING CHANGE: Access to the api for listing checkpoints has changed its name to `list_checkpoints`
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from 689b6d0 to b427181 Compare November 14, 2025 14:54
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from b427181 to aee193a Compare November 14, 2025 16:09
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from aee193a to 900b938 Compare November 14, 2025 16:12
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from 900b938 to fd59467 Compare November 14, 2025 17:59
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--together-ai branch from fd59467 to 67951c6 Compare November 14, 2025 18:16
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.

1 participant