-
Notifications
You must be signed in to change notification settings - Fork 80
Description
I’m trying to use Continue with a local OpenAI-compatible proxy (VibeProxy) running at http://localhost:8317/v1.
The proxy uses ChatGPT OAuth tokens internally, so the external API key is not required and should be ignored.
My config.yaml looks like this:
name: vibeproxy-local
version: "0.1"
models:
- title: GPT-5
name: gpt5
provider: openai
model: gpt-4o-mini
contextLength: 120000
apiKey: vibe
baseUrl: http://localhost:8317/v1
completionParams:
model: gpt-5
- title: GPT-5 Codex
name: gpt5-codex
provider: openai
model: gpt-4o-mini
contextLength: 120000
apiKey: vibe
baseUrl: http://localhost:8317/v1
completionParams:
model: gpt-5-codex
- title: GPT-5 Codex Mini
name: gpt5-codex-mini
provider: openai
model: gpt-4o-mini
contextLength: 120000
apiKey: vibe
baseUrl: http://localhost:8317/v1
completionParams:
model: gpt-5-codex-mini
- title: GPT-5.1
name: gpt51
provider: openai
model: gpt-4o-mini
contextLength: 120000
apiKey: vibe
baseUrl: http://localhost:8317/v1
completionParams:
model: gpt-5.1
- title: GPT-5.1 Codex
name: gpt51-codex
provider: openai
model: gpt-4o-mini
contextLength: 120000
apiKey: vibe
baseUrl: http://localhost:8317/v1
completionParams:
model: gpt-5.1-codex
- title: GPT-5.1 Codex Mini
name: gpt51-codex-mini
provider: openai
model: gpt-4o-mini
contextLength: 120000
apiKey: vibe
baseUrl: http://localhost:8317/v1
completionParams:
model: gpt-5.1-codex-mini
- title: GPT-5.1 Codex Max
name: gpt51-codex-max
provider: openai
model: gpt-4o-mini
contextLength: 120000
apiKey: vibe
baseUrl: http://localhost:8317/v1
completionParams:
model: gpt-5.1-codex-max
- title: GPT-5.2
name: gpt52
provider: openai
model: gpt-4o-mini
contextLength: 120000
apiKey: vibe
baseUrl: http://localhost:8317/v1
completionParams:
model: gpt-5.2
- title: GPT-5.2 Codex
name: gpt52-codex
provider: openai
model: gpt-4o-mini
contextLength: 120000
apiKey: vibe
baseUrl: http://localhost:8317/v1
completionParams:
model: gpt-5.2-codex
tabAutocompleteModel:
title: Autocomplete GPT-5.2 Codex
name: gpt52-codex-autocomplete
provider: openai
model: gpt-4o-mini
contextLength: 120000
apiKey: vibe
baseUrl: http://localhost:8317/v1
completionParams:
model: gpt-5.2-codexContinue successfully loads the config, but all requests fail with:
401 Unauthorized
Incorrect API key provided: vibe
You can find your API key at https://platform.openai.com/account/api-keys.
The problem:
Continue always sends Authorization: Bearer , and VibeProxy either ignores or replaces it, but Continue’s strict validation seems to reject the response because the API key does not correspond to a real OpenAI API key.
What I need:
Support for using OpenAI-compatible backends that do not require API key validation, such as VibeProxy or other self-hosted proxies. An option to disable API-key validation or allow arbitrary API keys would fix the issue.
Environment:
– Continue v1.2.14
– VS Code
– Base URL: local OpenAI-compatible proxy
– Proxy works with curl and with other clients without API keys