Open mystaroll opened 2 months ago
My config.json: ( the problem persists whether or not I include completionOptions
)
"models": [
{
"model": "anthropic.claude-3-5-sonnet-20240620-v1:0",
"provider": "bedrock",
"title": "Claude 3.5 Sonnet Bedrock",
"profile": "dev",
"region": "us-west-2",
"completionOptions": {
"temperature": 0.2,
"topP": 0.9,
"topK": 40,
"presencePenalty": 0.2,
"frequencyPenalty": 0.0,
"stop": ["\n"],
"maxTokens": 600
}
}
],
"tabAutocompleteModel": {
"title": "Claude 3.5 Sonnet Bedrock",
"profile": "dev",
"region": "us-west-2",
"model": "anthropic.claude-3-5-sonnet-20240620-v1:0",
"provider": "bedrock",
"completionOptions": {
"temperature": 0.2,
"topP": 0.9,
"topK": 40,
"presencePenalty": 0.2,
"frequencyPenalty": 0.0,
"stop": ["\n"],
"maxTokens": 600
}
},
It seems to be a bedrock limitation: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_InferenceConfiguration.html
FYI, fixed at https://github.com/continuedev/continue/pull/2554.
Before submitting your bug report
Relevant environment info
Description
Bedrock provider fails autocomplete with the following
I forced an override in config.json with
but it doesn't do the trick.
To reproduce
No response
Log output
No response