Skip to content

Replace default model used in server-v3 api spec examples#1951

Merged
pirate merged 4 commits into
mainfrom
model-name-fix
Apr 3, 2026
Merged

Replace default model used in server-v3 api spec examples#1951
pirate merged 4 commits into
mainfrom
model-name-fix

Conversation

@pirate
Copy link
Copy Markdown
Member

@pirate pirate commented Apr 3, 2026

why

Stainless generated clients had custom code changes that shouldn't have been custom code, they should've bene updated in the api spec. This fixes the root cause by replacing those, and then I'll have a follow-up PR for the python sdk to remove those custom code changes.

what changed

test plan


Summary by cubic

Updated v3 API examples to use OpenAI openai/gpt-5.4-mini, replacing previous defaults across the OpenAPI spec, core types, and stainless.yml. This aligns examples with our base URL and API key docs and avoids custom patches in Stainless-generated clients; no behavior changes.

Written for commit b6d9710. Summary will update on new commits. Review in cubic

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 3, 2026

⚠️ No Changeset found

Latest commit: b6d9710

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 3, 2026

✱ Stainless preview builds

This PR will update the stagehand SDKs with the following commit message.

feat: Replace default model used in server-v3 api spec examples
stagehand-openapi studio · code

Your SDK build had at least one "note" diagnostic.
generate ✅

stagehand-ruby studio · conflict

Your SDK build had at least one note diagnostic.

⚠️ stagehand-python studio · conflict

Your SDK build had at least one warning diagnostic.

⚠️ stagehand-typescript studio · conflict

Your SDK build had at least one warning diagnostic.

⚠️ stagehand-csharp studio · code

Your SDK build had a failure in the build CI job, which is a regression from the base state.
generate ⚠️build ❗lint ❗test ✅

stagehand-go studio · conflict

Your SDK build had at least one note diagnostic.

stagehand-java studio · conflict

Your SDK build had at least one note diagnostic.

stagehand-kotlin studio · conflict

Your SDK build had at least one note diagnostic.

⚠️ stagehand-php studio · code

Your SDK build had at least one "warning" diagnostic.
generate ⚠️lint ✅test ✅


This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push.
If you push custom code to the preview branch, re-run this workflow to update the comment.
Last updated: 2026-04-03 19:20:31 UTC

cubic-dev-ai[bot]

This comment was marked as resolved.

@pirate pirate merged commit d2262f6 into main Apr 3, 2026
184 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants