Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VertexAi Codestral autocompletion response undefined #3595

Open
3 tasks done
eqinox76 opened this issue Jan 3, 2025 · 0 comments
Open
3 tasks done

VertexAi Codestral autocompletion response undefined #3595

eqinox76 opened this issue Jan 3, 2025 · 0 comments
Assignees
Labels
area:autocomplete Relates to the auto complete feature ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage" priority:medium Indicates medium priority

Comments

@eqinox76
Copy link

eqinox76 commented Jan 3, 2025

Before submitting your bug report

Relevant environment info

- OS: Ubuntu 24.02 (WSL on win 11)
- Continue version: 0.8.66
- IDE version: vscode 1.96.2
- Model: Codestral
- config.json:
  
  "tabAutocompleteModel": {
    "title": "Codestral (Vertex AI)",
    "provider": "vertexai",
    "model": "codestral",
    "projectId": "project",
    "region": "europe-west4"
  },

Description

Setup is working but it seems the autocomplete answer from gcp is mangled.

To reproduce

Use autocomplete with the given settings.

Log output

##### Completion options #####
{
  "contextLength": 32768,
  "model": "codestral",
  "maxTokens": 4096,
  "temperature": 0.01,
  "stop": [
    "[PREFIX]",
    "[SUFFIX]",
    "/src/",
    "#- coding: utf-8",
    ""
  ],
  "raw": true
}

##### Prompt #####
[SUFFIX]
[PREFIX]diff --git a/.gitignore b/.gitignore
index c724ece..e1d9af3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,5 @@ gin-bin
 *.out
 
+
+.codegpt
\ No newline at end of file

==========================================================================
==========================================================================
Completion:
undefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefined
@sestinj sestinj self-assigned this Jan 3, 2025
@dosubot dosubot bot added area:autocomplete Relates to the auto complete feature ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior priority:medium Indicates medium priority labels Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:autocomplete Relates to the auto complete feature ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage" priority:medium Indicates medium priority
Projects
None yet
Development

No branches or pull requests

2 participants