Skip to content

"No suitable jump location found after trying all positions" - Autocomplete #7317

@MESC2020

Description

@MESC2020

Before submitting your bug report

Relevant environment info

- OS: Windows 11
- Continue version: 1.0.24
- IDE version: 1.103.2
- Model: Codestral
- config:
  
  - name: Codestral autocomplete
    provider: openai
    model: Codestral-2501
    apiBase: https://name.region.models.ai.azure.com/v2/fim/
    apiKey: <key>
    roles:
      - autocomplete

Description

Autocomplete only shows simple recommendations like { after def bubbleSort(arr) instead of the actual bubble sort definition.
I first thought it was the setup of Codestral and azure machine learning studio (continue recommends to use this setup since azure foundry does not support fim) but I can now confirm that the request is completed correctly, but for some reason continue can't display it.

For instance:
Simple coin example is generated but in editor only { is displayed after autocomplete

Image

In the meantime console (dev tool) prints out:
[Extension Host] No suitable jump location found after trying all positions

See also discussion here

To reproduce

  1. Use Codestral via Azure ML Studio
  2. Setup autocomplete model as described above
  3. Check console log while triggering an autocomplete

Log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:autocompleteRelates to the auto complete featureide:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behavioros:windowsHappening specifically on Windows

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions