BerriAI/litellm · error · NotImplementedError
EmbeddingConfig does not need a request transformation for c
Error message
EmbeddingConfig does not need a request transformation for chat models
What it means
Error "EmbeddingConfig does not need a request transformation for chat models" thrown in BerriAI/litellm.
Source
Thrown at litellm/llms/base_llm/embedding/transformation.py:69
) -> str:
"""
OPTIONAL
Get the complete url for the request
Some providers need `model` in `api_base`
"""
return api_base or ""
def transform_request(
self,
model: str,
messages: list[AllMessageValues],
optional_params: dict,
litellm_params: dict,
headers: dict,
) -> dict:
raise NotImplementedError("EmbeddingConfig does not need a request transformation for chat models")
def transform_response(
self,
model: str,
raw_response: httpx.Response,
model_response: ModelResponse,
logging_obj: LiteLLMLoggingObj,
request_data: dict,
messages: list[AllMessageValues],
optional_params: dict,
litellm_params: dict,
encoding: Any,
api_key: str | None = None,
json_mode: bool | None = None,
) -> ModelResponse:
raise NotImplementedError("EmbeddingConfig does not need a response transformation for chat models")
View on GitHub (pinned to 77b7c6c40c)
Solutions
- Use a concrete EmbeddingConfig subclass; the base class does not implement this transformation.
When it happens
Trigger: Thrown at litellm/llms/base_llm/embedding/transformation.py:69 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of BerriAI/litellm@77b7c6c40c (2026-08-18).
Data as JSON: /api/errors/dc6fe8e681c5f361.
Report an issue: GitHub.