continuedev / continuedev/continue

Continue CLI does not work with external OpenAI-compatible model (Error: 400 status code (no body))

Open
#12,875 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:integration kind:bug os:linux
Dominant language
TypeScript
Stars
36k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Before submitting your bug report
Relevant environment info
- OS: LinuxMint DE
- Continue version: 1.5.47
- IDE version: --
- Model: External, OpenAI compatible
- config:
  
  - name: MyOpanAICompatibleModel
    provider: openai
    model: AUTODETECT
    apiBase: https://myurl/.../api
    apiKey: ${{ secrets.MY_KEY }}
    roles:
      - chat
      - edit
      - apply
Description

When I configure cn to use an OpenAI-compatible model run on my server (which works perfectly in VSCod(ium) continue plugin), I get: Error: 400 status code (no body)

There are lots of such reports in the issues, but they all have been close for lack of activity...
https://github.com/continuedev/continue/issues?q=is%3Aissue%20state%3Aclosed%20Error%3A%20400%20status%20code%20(no%20body)

This makes the tool completely unusable... please can someone look at it?

To reproduce
  1. install cn CLI
  2. Configure it to use any OpenAI-compatible model (e.g. through Ollama)
  3. Experience the 400 error
Log output

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue through the Continue CLI with the provided OpenAI-compatible configuration and an Ollama-compatible server, then trace where the 400 status code is surfaced. Done means the CLI works with a supported external OpenAI-compatible model or reports a useful, actionable error instead of an empty response.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.