{"record":{"id":"b8e1954a9c638bb5","repo":"BerriAI/litellm","slug":"unsupported-model-model","errorCode":null,"errorMessage":"Unsupported model: {model}","messagePattern":"Unsupported model: (.+?)","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"litellm/llms/vertex_ai/vertex_ai_partner_models/__init__.py","lineNumber":19,"sourceCode":"from litellm.llms.base_llm.chat.transformation import BaseConfig\n\n\ndef get_vertex_ai_partner_model_config(model: str, vertex_publisher_or_api_spec: str) -> BaseConfig:\n    \"\"\"Return config for handling response transformation for vertex ai partner models\"\"\"\n    if vertex_publisher_or_api_spec == \"anthropic\":\n        from .anthropic.transformation import VertexAIAnthropicConfig\n\n        return VertexAIAnthropicConfig()\n    elif vertex_publisher_or_api_spec == \"ai21\":\n        from .ai21.transformation import VertexAIAi21Config\n\n        return VertexAIAi21Config()\n    elif vertex_publisher_or_api_spec == \"openapi\" or vertex_publisher_or_api_spec == \"mistralai\":\n        from .llama3.transformation import VertexAILlama3Config\n\n        return VertexAILlama3Config()\n    else:\n        raise ValueError(f\"Unsupported model: {model}\")\n","sourceCodeStart":1,"sourceCodeEnd":20,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/llms/vertex_ai/vertex_ai_partner_models/__init__.py#L1-L20","documentation":"Sentinel from get_vertex_ai_partner_model_config: the publisher/API-spec string matched none of the known partner configs (anthropic, ai21, ...), so no BaseConfig exists to transform the response for this model.","triggerScenarios":"Thrown at litellm/llms/vertex_ai/vertex_ai_partner_models/__init__.py:19 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use one of the supported partner models routed through vertex_ai (see the litellm docs for the provider's model list).","Check the model string for typos and the correct 'vertex_ai/' prefix."],"exampleFix":null,"handlingStrategy":"fallback","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-14T00:17:10.932Z"}