fix test for gcs bucket

This commit is contained in:
Ishaan Jaff
2024-08-14 08:40:02 -07:00
parent 63af2942ab
commit bb877f6ead
2 changed files with 2 additions and 4 deletions
+1 -4
View File
@@ -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"]
+1
View File
@@ -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 (