{"record":{"id":"153ce510a40ce3f1","repo":"BerriAI/litellm","slug":"fireworks-api-key-is-not-set","errorCode":null,"errorMessage":"FIREWORKS_API_KEY is not set","messagePattern":"FIREWORKS_API_KEY is not set","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"litellm/llms/fireworks_ai/chat/transformation.py","lineNumber":194,"sourceCode":"                setattr(self.__class__, key, value)\n\n    @classmethod\n    def get_config(cls):\n        return super().get_config()\n\n    def validate_environment(\n        self,\n        headers: dict,\n        model: str,\n        messages: list[AllMessageValues],\n        optional_params: dict,\n        litellm_params: dict,\n        api_key: str | None = None,\n        api_base: str | None = None,\n    ) -> dict:\n        api_key = self._get_api_key(api_key)\n        if api_key is None:\n            raise ValueError(\"FIREWORKS_API_KEY is not set\")\n\n        validated_headers: Final = OpenAIGPTConfig.validate_environment(\n            self,\n            headers=headers,\n            model=model,\n            messages=messages,\n            optional_params=optional_params,\n            litellm_params=litellm_params,\n            api_key=api_key,\n            api_base=api_base,\n        )\n        return self._add_session_affinity_header(validated_headers, litellm_params)\n\n    def get_supported_openai_params(self, model: str):\n        # Base parameters supported by all models\n        supported_params: Final = [\n            \"stream\",\n            \"max_completion_tokens\",","sourceCodeStart":176,"sourceCodeEnd":212,"githubUrl":"https://github.com/BerriAI/litellm/blob/6c2dcb801bf2b75c18f1bb24140e7cf57465cc4d/litellm/llms/fireworks_ai/chat/transformation.py#L176-L212","documentation":"Error \"FIREWORKS_API_KEY is not set\" thrown in BerriAI/litellm.","triggerScenarios":"Thrown at litellm/llms/fireworks_ai/chat/transformation.py:194 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Set FIREWORKS_API_KEY in the environment."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6c2dcb801bf2b75c18f1bb24140e7cf57465cc4d","analyzedAt":"2026-08-15T07:12:03.035Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}