litellm-mirror/litellm/integrations/gcs_bucket
Krish Dholakia e1f7bcb47d
Fix VertexAI Credential Caching issue (#9756)
* refactor(vertex_llm_base.py): Prevent credential misrouting for projects

Fixes https://github.com/BerriAI/litellm/issues/7904

* fix: passing unit tests

* fix(vertex_llm_base.py): common auth logic across sync + async vertex ai calls

prevents credential caching issue across both flows

* test: fix test

* fix(vertex_llm_base.py): handle project id in default cause

* fix(factory.py): don't pass cache control if not set

bedrock invoke does not support this

* test: fix test

* fix(vertex_llm_base.py): add .exception message in load_auth

* fix: fix ruff error
2025-04-04 16:38:08 -07:00
..
gcs_bucket.py Fix VertexAI Credential Caching issue (#9756) 2025-04-04 16:38:08 -07:00
gcs_bucket_base.py build(pyproject.toml): add new dev dependencies - for type checking (#9631) 2025-03-29 11:02:13 -07:00
Readme.md (code clean up) use a folder for gcs bucket logging + add readme in folder (#6080) 2024-10-05 16:58:10 +05:30

GCS (Google Cloud Storage) Bucket Logging on LiteLLM Gateway

This folder contains the GCS Bucket Logging integration for LiteLLM Gateway.

Folder Structure

  • gcs_bucket.py: This is the main file that handles failure/success logging to GCS Bucket
  • gcs_bucket_base.py: This file contains the GCSBucketBase class which handles Authentication for GCS Buckets

Further Reading