{"record":{"id":"dc6fe8e681c5f361","repo":"BerriAI/litellm","slug":"embeddingconfig-does-not-need-a-request-transforma","errorCode":null,"errorMessage":"EmbeddingConfig does not need a request transformation for chat models","messagePattern":"EmbeddingConfig does not need a request transformation for chat models","errorType":"exception","errorClass":"NotImplementedError","httpStatus":null,"severity":"error","filePath":"litellm/llms/base_llm/embedding/transformation.py","lineNumber":69,"sourceCode":"    ) -> str:\n        \"\"\"\n        OPTIONAL\n\n        Get the complete url for the request\n\n        Some providers need `model` in `api_base`\n        \"\"\"\n        return api_base or \"\"\n\n    def transform_request(\n        self,\n        model: str,\n        messages: list[AllMessageValues],\n        optional_params: dict,\n        litellm_params: dict,\n        headers: dict,\n    ) -> dict:\n        raise NotImplementedError(\"EmbeddingConfig does not need a request transformation for chat models\")\n\n    def transform_response(\n        self,\n        model: str,\n        raw_response: httpx.Response,\n        model_response: ModelResponse,\n        logging_obj: LiteLLMLoggingObj,\n        request_data: dict,\n        messages: list[AllMessageValues],\n        optional_params: dict,\n        litellm_params: dict,\n        encoding: Any,\n        api_key: str | None = None,\n        json_mode: bool | None = None,\n    ) -> ModelResponse:\n        raise NotImplementedError(\"EmbeddingConfig does not need a response transformation for chat models\")\n","sourceCodeStart":51,"sourceCodeEnd":86,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/llms/base_llm/embedding/transformation.py#L51-L86","documentation":"Error \"EmbeddingConfig does not need a request transformation for chat models\" thrown in BerriAI/litellm.","triggerScenarios":"Thrown at litellm/llms/base_llm/embedding/transformation.py:69 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a concrete EmbeddingConfig subclass; the base class does not implement this transformation."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8","analyzedAt":"2026-08-18T11:44:31.656Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}