mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-19 00:01:29 +00:00
style: apply ruff format to databricks transformation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
f5e178634c
commit
7a7fea2a61
1 changed files with 1 additions and 4 deletions
|
|
@ -389,10 +389,7 @@ class DatabricksConfig(DatabricksBase, OpenAILikeChatConfig, AnthropicConfig):
|
|||
"response_format", None
|
||||
) # unsupported for claude models - if json_schema -> convert to tool call
|
||||
|
||||
if (
|
||||
"reasoning_effort" in non_default_params
|
||||
and self._databricks_model_uses_anthropic_thinking_param(model)
|
||||
):
|
||||
if "reasoning_effort" in non_default_params and self._databricks_model_uses_anthropic_thinking_param(model):
|
||||
reasoning_effort_value = non_default_params.get("reasoning_effort")
|
||||
mapped_thinking = AnthropicConfig._map_reasoning_effort(
|
||||
reasoning_effort=reasoning_effort_value,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue