8 views
-/https://github.com/berriai/litellm/issues/34503
GitHub Ā· issue

#34503 [Bug]: Scaleway provider is not routed on the embedding() endpoint — raises LiteLLMUnknownProvider

  • State: open
  • Author: @AlbanDurrheimer
  • Labels: llm translation, SDK

## Check for existing issues - [x] I have searched the existing issues and checked that my issue is not a duplicate. (Closest is #26443, but that concerns the *chat* path — a provider-specific param bypassing `extra_body`. This report is a different, embeddings-only routing bug.)

## What happened?

Calling `litellm.embedding()` / `litellm.aembedding()` with a Scaleway model fails immediately with `LiteLLMUnknownProvider`, **before any network call is made**. Scaleway **chat completions work fine** — only the embeddings endpoint is affected, even though Scaleway offers OpenAI-compatible embedding models (`qwen3-embedding-8b`, `bge-multilingual-gemma2`) on the same `https://api.scaleway.ai/v1` base URL.

**Expected:** the request is routed to the OpenAI-compatible embedding handler and returns an embedding vector, exactly as chat completions already do for Scaleway.

**Actual:** `LiteLLMUnknownProvider` is raised before any HTTP request.

### Root cause

There is an asymmetry between `completion()` and `embedding()` in how JSON-configured providers are routed.

`scaleway` is a JSON-configured provider (`litellm/llms/openai_like/providers.json`), correctly registered as an OpenAI-c…

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (2 events)
#0 of 0 Ā· 31d18h8m20s ago — entered Ā· #import:https:::github.com:berriai:litellm post #2815
The embedding dispatch fix spans provider-resolution paths and endpoint-specific regression testing, while the proxy authorization correction is a localized set-union semantics change with focused tests.
#0 of 0 Ā· 31d17h55m19s ago — current Ā· #import:https:::github.com:berriai:litellm post #3046
33772 requires coordinated changes across token accounting, model metadata, pricing tiers, multiple API response shapes, and regression coverage, creating broader compatibility risk. 34503 is comparatively localized to provider dispatch/configuration and endpoint-specific tests.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search