Skip to content

Conversation

michaelnchin
Copy link
Collaborator

Adds base support for using gpt-oss on ChatBedrock. Tools and streaming support to be implemented in later PRs.

Note that Bedrock currently uses the Chat Completions API for gpt-oss models, and not the newer Responses API, so we have to format the input (i.e. messages only) and parameters in the request body accordingly.

Copy link
Collaborator

@3coins 3coins left a comment

Choose a reason for hiding this comment

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

Looks good!
One minor update to the comments.

@michaelnchin michaelnchin merged commit 43b8ebd into langchain-ai:main Aug 19, 2025
12 checks passed
@michaelnchin michaelnchin deleted the gpt-oss-chatbedrock branch August 19, 2025 01:16
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.

2 participants