docs: clarify bedrock inference profile setup#24193
Conversation
|
The following comment was made by an LLM, it may be inaccurate: Based on my search results, I found the following potentially related PR: Related PR:
The other result (PR #16504: feat(bedrock): add prompt caching support for custom ARNs) is a feature PR rather than documentation and addresses a different aspect of Bedrock integration. These are related but not exact duplicates—PR #18880 is an older docs update while #24193 is the current PR you're reviewing with more specific inference profile setup guidance. |
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Issue for this PR
Closes #
Type of change
What does this PR do?
This updates the Bedrock docs to make the custom application inference profile flow explicit instead of just mentioning that the model
idcan be an ARN.It adds a fuller
opencode.jsonexample, calls out that the custom model key should still look Claude-like for caching, and documents the practical AWS flow of creating the application profile from the matching system-defined inference profile when Bedrock rejects the raw foundation model ARN.How did you verify your code works?
I verified the examples against a real Bedrock setup locally:
ACTIVEaws bedrock-runtime converseopencode debug configandopencode models amazon-bedrockpicked up the custom model configScreenshots / recordings
If this is a UI change, please include a screenshot or recording.
Checklist