mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
test(gemini): stub API key for format param tests
This commit is contained in:
parent
b1bc3c166d
commit
2911d99d77
1 changed files with 2 additions and 0 deletions
|
|
@ -213,6 +213,8 @@ async def test_url_with_format_param(model, sync_mode, monkeypatch):
|
|||
}
|
||||
],
|
||||
}
|
||||
if model.startswith("gemini/"):
|
||||
args["api_key"] = "test-api-key"
|
||||
with patch.object(client, "post", new=MagicMock()) as mock_client:
|
||||
try:
|
||||
if sync_mode:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue