⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
Recent bedrock integration throwing an error about system role messge getting passed.
When a prompt is sent to aws bedrock along with system message setup in config.json.
An error is thrown back that says role type system is not allowed when calling bedrock api.
To reproduce
Go to config.json
Configure basic bedrock config along with system message.
Type a prompt and click send
Error is received and added in log output section.
Log output
_ValidationException: 1 validation error detected: Value 'system' at 'messages.1.member.role' failed to satisfy constraint: Member must satisfy enum value set: [user, assistant]_
Before submitting your bug report
Relevant environment info
Description
Recent bedrock integration throwing an error about system role messge getting passed.
When a prompt is sent to aws bedrock along with system message setup in config.json.
An error is thrown back that says role type system is not allowed when calling bedrock api.
To reproduce
Log output