mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
fix: skip datazone models
This commit is contained in:
parent
1250ae6645
commit
81d8a35348
1 changed files with 5 additions and 1 deletions
|
|
@ -117,7 +117,9 @@ async def test_supports_tool_choice():
|
|||
"""
|
||||
# Load model prices
|
||||
litellm._turn_on_debug()
|
||||
with open("./model_prices_and_context_window.json", "r") as f:
|
||||
local_path = "../../model_prices_and_context_window.json"
|
||||
prod_path = "./model_prices_and_context_window.json"
|
||||
with open(local_path, "r") as f:
|
||||
model_prices = json.load(f)
|
||||
litellm.model_cost = model_prices
|
||||
config_manager = ProviderConfigManager()
|
||||
|
|
@ -133,6 +135,8 @@ async def test_supports_tool_choice():
|
|||
or any(provider in model_name for provider in OLD_PROVIDERS)
|
||||
or model_info["litellm_provider"] in OLD_PROVIDERS
|
||||
or model_name in block_list
|
||||
or "azure/eu" in model_name
|
||||
or "azure/us" in model_name
|
||||
):
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue