Replies: 4 comments 2 replies
-
|
@pettni Wasn't you who manage to make this integration work? Could you help on that? |
Beta Was this translation helpful? Give feedback.
-
|
Bedrock now support longlive API tokens: https://docs.aws.amazon.com/bedrock/latest/userguide/api-keys.html This makes Bedrock very interesting option for inference in CodeCompanion, especially for enterprise software engineers like myself :D |
Beta Was this translation helpful? Give feedback.
-
|
My full lazy config is below. You'd need to modify the This is for anthropic models only. |
Beta Was this translation helpful? Give feedback.
-
|
Now that Claude Code is supported by CodeCompanion I noticed this setup works to use Claude Sonnet through Amazon Bedrock:
# Claude Code
# <https://docs.claude.com/en/docs/claude-code/amazon-bedrock>
# Enable Bedrock integration
export CLAUDE_CODE_USE_BEDROCK=1
export AWS_REGION=us-west-2
# Recommended output token settings for Bedrock
export CLAUDE_CODE_MAX_OUTPUT_TOKENS=4096
export MAX_THINKING_TOKENS=1024
{
"olimorris/codecompanion.nvim",
opts = {
strategies = {
chat = {
adapter = "claude_code",
}
}
}
},
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm seen one mention of bedrock in this repo, and it seems it can be used but with some issues? Is anyone able to clarify if how to get it to work/if it works? A bit confused if it's available, if anyone can share anything would be greatly appreciated
Beta Was this translation helpful? Give feedback.
All reactions