mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-16 09:22:22 +00:00
fix(bedrock): satisfy strict import-cycle lint
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
3081b8ac7a
commit
645dec3a30
1 changed files with 1 additions and 1 deletions
|
|
@ -8100,7 +8100,7 @@ def _get_model_cost_entry_for_provider_config(
|
|||
|
||||
|
||||
def model_supports_native_endpoint(endpoint: str, model: str, provider: LlmProviders) -> bool:
|
||||
bedrock_model_info: Final = getattr(litellm, "BedrockModelInfo")
|
||||
bedrock_model_info: Final = litellm.BedrockModelInfo
|
||||
base_model: Final = bedrock_model_info.get_base_model(model) if provider is LlmProviders.BEDROCK else model
|
||||
candidate_models: Final = (model, base_model) if base_model != model else (model,)
|
||||
return any(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue