Skip to content

Hugging Face provider models not showing in VS Code model select with huggingface-inference-providers configuration #10223

@AlexisPelcik

Description

@AlexisPelcik

Before submitting your bug report

Relevant environment info

- OS: Linux
- Continue version: v1.3.30
- IDE version: VSCode 1.109.0
- Model: Qwen/Qwen3-Coder-Next:novita
- config:
  
name: Local Config
version: 1.0.0

schema: v1
models:
  - name: huggingfacembe
    provider: huggingface-inference-providers
    model: Qwen/Qwen3-VL-Embedding-2B
    apiKey: hf_XXXXXX
    apiBase: https://router.huggingface.co/v1
    roles:
      - embed

  - name: huggingfaceAutocomplete
    provider: huggingface-inference-providers
    model: Qwen/Qwen2.5-Coder-7B:fastest
    apiKey: hf_XXXXXX
    apiBase: https://router.huggingface.co/v1
    roles:
      - autocomplete

  - name: huggingface
    provider: huggingface-inference-providers
    model: Qwen/Qwen3-Coder-Next:cheapest
    apiKey: hf_XXXXXXX
    apiBase: https://router.huggingface.co/v1
    roles:
      - chat
      - edit
      - apply

Description

I’m trying to use Hugging Face models in Continue (VS Code extension) by following the documented configuration format. However, the configured model never shows up in the model picker UI.

If I modify the provider to:

provider: huggingface-inference-api

then it does show up in the picker but using that provider results in 404 errors from Hugging Face.

This makes it impossible to use Hugging Face inference providers the way the docs describe: Continue doesn’t show models for huggingface-inference-providers, but only for huggingface-inference-api, which fails in practice.

To reproduce

Add a Hugging Face inference model definition in config.json or VS Code config, e.g.:

- name: huggingface
  provider: huggingface-inference-providers
  model: Qwen/Qwen3-Coder-Next:cheapest
  apiKey: hf_XXXXX
  apiBase: https://router.huggingface.co/v1
  roles:
    - chat

Log output

Metadata

Metadata

Labels

area:integrationIntegrations (context providers, model providers, etc.)ide:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behavioros:linuxHappening specifically on Linux

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions