Skip to content

Regenerate the API clients from the production spec - #49

Merged
mingminglang-baseten merged 1 commit into
mainfrom
mingming/regen-production-spec
Nov 19, 2026
Merged

mingminglang-baseten merged 1 commit into
mainfrom
mingming/regen-production-spec

Conversation

@mingminglang-baseten

Copy link
Copy Markdown
Contributor

🚀 What

Regenerates the API clients from the current production specs, including POST /v1/auth/token. Generated code only.

💻 How

generate-api --update-specs, no hand edits.

🔬 Testing

Lint and unit tests pass; regenerating again without --update-specs produces no further changes.

🤖 Generated with Claude Code

@mingminglang-baseten
mingminglang-baseten marked this pull request as ready for review November 19, 2026 21:14
Copilot AI balanced review requested due to automatic review settings November 19, 2026 21:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

There are no active review issues requiring resolution.

No open issues 🎉

What changed in this PR

Regenerates the Python SDK’s API clients and models from current production specifications, including POST /v1/auth/token.

Changes:

  • Adds token exchange, service account, identity provider, and trust rule APIs.
  • Updates replica management, Loops checkpoint lifecycle, training metrics, and Grid routing support.
  • Adds BEI configuration and Hugging Face OIDC weight authentication, with refreshed field descriptions.
File Description
scripts/​apigen/​specs/​config.schema.json Updates configuration schema for BEI and Hugging Face OIDC.
baseten/​client/​modelconfig/​_models.py Generates corresponding configuration models and field descriptions.
baseten/​client/​modelconfig/​__init__.py Exports the new BEI configuration models.
baseten/​client/​managementapi/​_models.py Refreshes management API request, response, and resource models.
baseten/​client/​managementapi/​_client.py Updates synchronous and asynchronous methods to match production endpoints.
baseten/​client/​managementapi/​__init__.py Synchronizes public exports with the regenerated management models.

Review effort: Balanced

@mingminglang-baseten
mingminglang-baseten merged commit 64cf183 into main Nov 19, 2026
11 of 22 checks passed
@mingminglang-baseten
mingminglang-baseten deleted the mingming/regen-production-spec branch November 19, 2026 22:55
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.

3 participants