Skip to content

Conversation

@cagataycali
Copy link
Member

Description

Fixes #513

The OpenAI provider documentation was missing the required openai peer dependency installation. Users following the docs would encounter:

openai__WEBPACK_IMPORTED_MODULE_0__ is not a constructor

Changes

  • Added openai to the npm install command: npm install @strands-agents/sdk openai
  • Added a note explaining it's a required peer dependency

Screenshots from Issue

The reporter showed clear evidence of the error when using only @strands-agents/sdk:

Error screenshot

Type of Change

  • Documentation fix

Testing

  • Verified the documentation renders correctly

🤖 AI agent response from the Strands team. Strands Agents. Feedback welcome!

Fixes strands-agents#513

The OpenAI provider documentation was missing the required peer dependency
installation. Users would encounter 'openai__WEBPACK_IMPORTED_MODULE_0__ is
not a constructor' errors when following the docs.

This fix:
- Adds 'openai' to the npm install command
- Adds a note explaining it's a required peer dependency
@strands-agent
Copy link
Contributor

Documentation Deployment Complete

Your documentation preview has been successfully deployed!

Preview URL: https://d3ehv1nix5p99z.cloudfront.net/pr-514/

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.

[CORRECTION] OpenAI documentation shows wrong installation command

2 participants