mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-14 20:22:20 +00:00
test(gemini): stub API key for format param tests
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user