litellm/litellm/types
Felipe Garé a696ffe4a6
Litellm gemini batch (#14733)
* feat: add Vertex AI support for file content retrieval

- Extended `custom_llm_provider` to include "vertex_ai" in `afile_content` function.
- Implemented file content retrieval logic for Vertex AI in `VertexAIFilesHandler`.
- Added helper method to extract bucket and object from URL-encoded file_id.
- Created comprehensive unit and integration tests for Vertex AI file handling.
- Updated transformation logic to ensure compatibility with Vertex AI file responses.

* fix: update Vertex AI file transformation logic

- Modified the transformation logic in `VertexAIFilesConfig` to return a newline-separated JSON string for batch JSONL files instead of a array if JSON strings.

* fix: enhance Vertex AI output handling in transformation logic

- Updated the transformation logic in `VertexAIBatchTransformation` to utilize the new `OutputInfo` TypedDict for retrieving the GCS output directory.
- Added `OutputInfo` class to type definitions for better structure and clarity in Vertex AI responses.
2025-09-19 15:22:52 -07:00
..
google_genai [Feat] GEMINI CLI Integration - Add /countTokens endpoint support (#13545) 2025-08-12 16:19:58 -07:00
images fix: fix import errors 2025-09-14 09:32:21 -07:00
integrations feat(langsmith.py): add per request sampling_rate support 2025-09-17 18:39:34 -07:00
litellm_core_utils fix: fix import errors 2025-09-14 09:32:21 -07:00
llms Litellm gemini batch (#14733) 2025-09-19 15:22:52 -07:00
mcp_server fix: stop including spec_version in MCP server registration inserts 2025-09-19 07:06:15 +09:00
passthrough_endpoints fix: fix import errors 2025-09-14 09:32:21 -07:00
prompts Prompt Management - add prompts on UI (#13240) 2025-08-02 22:33:37 -07:00
proxy fix: fix import errors 2025-09-14 09:32:21 -07:00
responses
secret_managers Revert "Litellm dev 07 21 2025 p1 (#12848)" 2025-07-22 18:28:36 -07:00
adapter.py
caching.py fix: fix import errors 2025-09-14 09:32:21 -07:00
completion.py fix: correct CompletionRequest messages type to match OpenAI API spec (#12980) 2025-07-28 16:47:20 -07:00
embedding.py
files.py
fine_tuning.py
guardrails.py fix: fix import errors 2025-09-14 09:32:21 -07:00
mcp.py [Feature]: Support "Token" MCPAuth (#14359) 2025-09-08 18:25:41 -07:00
realtime.py fix: fix import errors 2025-09-14 09:32:21 -07:00
rerank.py
router.py [Feat] Add Initial support for Bedrock Batches API (#14190) 2025-09-03 17:19:58 -07:00
scheduler.py
services.py
tag_management.py
utils.py Merge pull request #14700 from BerriAI/litellm_contributor_prs_09_18_2025_p2 2025-09-18 23:38:29 -07:00
vector_stores.py [Bug Fix] QA - Use PG Vector Vector Store with LiteLLM (#12716) 2025-07-18 08:41:18 -07:00