feat: Add Gemini API embeddings compatibility with embedContent and batchEmbedContents methods

This commit is contained in:
cxyfer
2025-07-30 02:28:53 +08:00
parent a6558b4668
commit b89d3ea144
5 changed files with 323 additions and 1 deletions
+4
View File
@@ -284,6 +284,10 @@ def get_vertex_express_logger():
return Logger.setup_logger("vertex_express")
def get_gemini_embedding_logger():
return Logger.setup_logger("gemini_embedding")
def setup_access_logging():
"""
Configure uvicorn access logging with API key redaction