Skip to content

feat(console): expose AI SDK package in Zen models API - #41416

Open
Cretezy wants to merge 1 commit into
anomalyco:devfrom
Cretezy:zen-model-npm
Open

feat(console): expose AI SDK package in Zen models API#41416
Cretezy wants to merge 1 commit into
anomalyco:devfrom
Cretezy:zen-model-npm

Conversation

@Cretezy

@Cretezy Cretezy commented Aug 9, 2026

Copy link
Copy Markdown

Issue for this PR

Closes #41415

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds an npm field to each model returned by the Zen GET /v1/models endpoints. The package is derived from the model's API format so Anthropic, Google, OpenAI, and OpenAI-compatible models expose the matching AI SDK provider package.

Both the full Zen model list and the Go model list use the shared response builder, keeping their response shape consistent with models.dev.

How did you verify your code works?

  • Ran bun typecheck from packages/console/app.
  • Ran bun typecheck from packages/console/core.

Screenshots / recordings

Not applicable; this is an API response change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

@Cretezy
Cretezy marked this pull request as ready for review August 9, 2026 15:42
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.

[FEATURE]: Include AI SDK package in Zen model responses

1 participant