continue icon indicating copy to clipboard operation
continue copied to clipboard

Bedrock fails autocomplete: 'inferenceConfig.stopSequences' failed to satisfy constraint

Open mystaroll opened this issue 1 year ago • 3 comments

Before submitting your bug report

Relevant environment info

- OS: Linux
- Continue: 0.8.52
- IDE: vscode
- Model: any model in AWS Bedrock
- config.json: -

Description

Bedrock provider fails autocomplete with the following

1 validation error detected: Value '[</CO, </COMPLETION>, /src/, #- coding: utf-8, ```, def, class, """#]' at 'inferenceConfig.stopSequences' failed to satisfy constraint: Member must have length less than or equal to 4

I forced an override in config.json with

"completionOptions": {
    "stop": ["</CO"]
  },

but it doesn't do the trick.

To reproduce

No response

Log output

No response

mystaroll avatar Sep 18 '24 12:09 mystaroll