Replies: 2 comments 2 replies
-
|
An update on this... I was able to configure the autcomplete in Continue by using the Mistral provider with the codestral-latest model and using the free plan of Mistral. By now, this can be a solution but, it's a pitty at the same time coz I'm paying for the Opencode Go suscription with no luck with the autcomplete on the side of Opencode Go. At the Docs they have this url available for all the models https://opencode.ai/zen/go/v1/chat/completions Any idea on how to solve this? Here you can find my working config with mistral name: Discovery Product Workflow
version: 1.0.0
schema: v1
models:
- name: "Codestral - Autocomplete rápido y consistente para edición diaria"
provider: mistral
model: codestral-latest
apiKey: ${{ secrets.MISTRAL_API_KEY }}
roles:
- autocomplete
defaultCompletionOptions:
maxTokens: 64
temperature: 0.1 |
Beta Was this translation helpful? Give feedback.
-
|
Just a question why you wouldn't rather use Opencode and use continuedev. is harness any better in continuedev, or is it just a personal choice. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi There,
I'm using the Continue extension for VsCode. As model provider I have the OpenCode Go suscription.
All that models are working fine for chat, edit, etc but not for autcomplete.
I've tried with Ollama and qwen2.5-coder:1.5b-base and the aoutcomplete works fine.
Was fighting with this for 2 days with no luck.
This is the summary provided by the iA of the problem.
The Continue autocomplete function doesn’t work with OpenCode Go providers because their API only exposes /v1/chat/completions and the modern /v1/completions endpoints.
Continue requires either /v1/responses, the legacy OpenAI /v1/completions (2020 format), or an Ollama‑style /api/generate endpoint for predictive autocomplete.
Since OpenCode Go doesn’t implement any of these, Continue cannot stream token‑by‑token predictions.
Chat, edit, and generate work correctly, but autocomplete cannot initialize.
Can Continue add support for OpenAI‑style /v1/completions (non‑legacy) or provide a fallback mode for providers like OpenCode Go?
This is my actual YAML config.
Beta Was this translation helpful? Give feedback.
All reactions