Merge pull request #21368 from TomeHirata/databricks/response-schema

Add Databricks to supported LLM providers for response schema
This commit is contained in:
Sameer Kankute 2026-02-17 14:04:18 +05:30 committed by GitHub
commit f4b79fa635
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -2408,6 +2408,7 @@ def supports_response_schema(
litellm.LlmProviders.FIREWORKS_AI,
litellm.LlmProviders.LM_STUDIO,
litellm.LlmProviders.NEBIUS,
litellm.LlmProviders.DATABRICKS,
]
if custom_llm_provider in PROVIDERS_GLOBALLY_SUPPORT_RESPONSE_SCHEMA:

View file

@ -1065,6 +1065,7 @@ def test_parse_content_for_reasoning(content, expected_reasoning, expected_conte
("vertex_ai/gemini-1.5-pro", True),
("gemini/gemini-1.5-pro", True),
("predibase/llama3-8b-instruct", True),
("databricks/databricks-meta-llama-3-1-70b-instruct", True),
("gpt-3.5-turbo", False),
("groq/llama-3.3-70b-versatile", False),
],