mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-14 16:25:29 +00:00
fix test for gcs bucket
This commit is contained in:
@@ -39,7 +39,4 @@ general_settings:
|
||||
|
||||
litellm_settings:
|
||||
fallbacks: [{"gemini-1.5-pro-001": ["gpt-4o"]}]
|
||||
success_callback: ["langfuse", "prometheus"]
|
||||
langfuse_default_tags: ["cache_hit", "cache_key", "proxy_base_url", "user_api_key_alias", "user_api_key_user_id", "user_api_key_user_email", "user_api_key_team_alias", "semantic-similarity", "proxy_base_url"]
|
||||
failure_callback: ["prometheus"]
|
||||
cache: True
|
||||
callbacks: ["gcs_bucket"]
|
||||
|
||||
@@ -147,6 +147,7 @@ async def test_basic_gcs_logger():
|
||||
|
||||
assert gcs_payload["response_cost"] > 0.0
|
||||
|
||||
assert gcs_payload["log_event_type"] == "successful_api_call"
|
||||
gcs_payload["spend_log_metadata"] = json.loads(gcs_payload["spend_log_metadata"])
|
||||
|
||||
assert (
|
||||
|
||||
Reference in New Issue
Block a user