Skip to content

docs: use model string convention for tools registry examples#11549

Merged
lgrammel merged 1 commit intomainfrom
remove-gateway-from-registry
Jan 6, 2026
Merged

docs: use model string convention for tools registry examples#11549
lgrammel merged 1 commit intomainfrom
remove-gateway-from-registry

Conversation

@harpreetarora
Copy link
Copy Markdown
Contributor

Summary

  • Remove gateway() wrapper from all tool code examples in the tools registry
  • Update imports to remove gateway from 'ai' package imports
  • Update ctx-zip and perplexity-search examples to use openai/gpt-5.2

Test plan

  • Verify code examples render correctly on the tools registry page

🤖 Generated with Claude Code

Update all tool code examples to use direct model strings instead of
the gateway() wrapper function. Also update ctx-zip and perplexity-search
to use openai/gpt-5.2.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@lgrammel lgrammel changed the title Use model string convention for tools registry examples docs: use model string convention for tools registry examples Jan 6, 2026
@lgrammel lgrammel merged commit 10f37c5 into main Jan 6, 2026
23 checks passed
@lgrammel lgrammel deleted the remove-gateway-from-registry branch January 6, 2026 09:56
@gr2m gr2m added ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label provider/gateway Issues related to the @ai-sdk/gateway provider and removed ai/gateway labels Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label provider/gateway Issues related to the @ai-sdk/gateway provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants