Files
litellm/tests/test_litellm/llms
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
..
2025-09-16 22:30:40 -07:00
2025-09-07 18:04:00 -07:00
2025-09-10 19:39:23 -07:00
2025-05-31 12:42:56 -07:00
2025-09-12 11:56:51 -07:00
2025-08-06 14:23:55 -06:00
2025-07-03 22:35:22 -07:00
2025-05-31 12:42:56 -07:00
2025-09-19 15:22:52 -07:00
2025-09-16 12:11:10 +08:00
2025-09-01 11:31:56 -07:00