Skip to content

docs: rename OpenAIModel to OpenAIChatModel in TypeScript examples#680

Closed
pgrayy wants to merge 1 commit intostrands-agents:mainfrom
pgrayy:rename-openai-to-openai-chat
Closed

docs: rename OpenAIModel to OpenAIChatModel in TypeScript examples#680
pgrayy wants to merge 1 commit intostrands-agents:mainfrom
pgrayy:rename-openai-to-openai-chat

Conversation

@pgrayy
Copy link
Copy Markdown
Member

@pgrayy pgrayy commented Mar 18, 2026

Description

Updates all TypeScript documentation examples to reflect the SDK rename of OpenAIModel to OpenAIChatModel and the export path change from @strands-agents/sdk/openai to @strands-agents/sdk/openai-chat.

Also fixes a pre-existing bug where index.ts used invalid @strands-agents/sdk/models/bedrock and @strands-agents/sdk/models/openai import paths that do not exist in the SDK package.json exports map. These have been corrected to @strands-agents/sdk/bedrock and @strands-agents/sdk/openai-chat respectively.

Related Issues

Companion to the SDK rename PR in strands-agents/sdk-typescript.

Type of Change

  • Content update/revision
  • Bug fix

Checklist

  • I have read the CONTRIBUTING document
  • My changes follow the project's documentation style
  • I have tested the documentation locally using npm run dev
  • Links in the documentation are valid and working

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@github-actions
Copy link
Copy Markdown
Contributor

Documentation Preview Ready

Your documentation preview has been successfully deployed!

Preview URL: https://d3ehv1nix5p99z.cloudfront.net/pr-cms-680/docs/user-guide/quickstart/overview/

Updated at: 2026-03-18T19:44:59.731Z

@pgrayy pgrayy closed this Mar 19, 2026
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.

1 participant