mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix get_llm_provider for imagegeneration@006
This commit is contained in:
parent
811aa34a36
commit
80dd2cfc7f
2 changed files with 11 additions and 0 deletions
|
@ -68,3 +68,10 @@ def test_get_llm_provider_deepseek_custom_api_base():
|
|||
assert api_base == "MY-FAKE-BASE"
|
||||
|
||||
os.environ.pop("DEEPSEEK_API_BASE")
|
||||
|
||||
|
||||
def test_get_llm_provider_vertex_ai_image_models():
|
||||
model, custom_llm_provider, dynamic_api_key, api_base = litellm.get_llm_provider(
|
||||
model="imagegeneration@006",
|
||||
)
|
||||
assert custom_llm_provider == "vertex_ai"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue