litellm-mirror/litellm/llms/base_llm
Krish Dholakia 053b0e741f
All checks were successful
Read Version from pyproject.toml / read-version (push) Successful in 16s
Helm unit test / unit-test (push) Successful in 23s
Add Google AI Studio /v1/files upload API support (#9645)
* test: fix import for test

* fix: fix bad error string

* docs: cleanup files docs

* fix(files/main.py): cleanup error string

* style: initial commit with a provider/config pattern for files api

google ai studio files api onboarding

* fix: test

* feat(gemini/files/transformation.py): support gemini files api response transformation

* fix(gemini/files/transformation.py): return file id as gemini uri

allows id to be passed in to chat completion request, just like openai

* feat(llm_http_handler.py): support async route for files api on llm_http_handler

* fix: fix linting errors

* fix: fix model info check

* fix: fix ruff errors

* fix: fix linting errors

* Revert "fix: fix linting errors"

This reverts commit 926a5a527f.

* fix: fix linting errors

* test: fix test

* test: fix tests
2025-04-02 08:56:58 -07:00
..
anthropic_messages (Refactor) /v1/messages to follow simpler logic for Anthropic API spec (#9013) 2025-03-06 00:43:08 -08:00
audio_transcription Add Google AI Studio /v1/files upload API support (#9645) 2025-04-02 08:56:58 -07:00
chat Add Google AI Studio /v1/files upload API support (#9645) 2025-04-02 08:56:58 -07:00
completion Add Google AI Studio /v1/files upload API support (#9645) 2025-04-02 08:56:58 -07:00
embedding Add Google AI Studio /v1/files upload API support (#9645) 2025-04-02 08:56:58 -07:00
files Add Google AI Studio /v1/files upload API support (#9645) 2025-04-02 08:56:58 -07:00
image_variations Add Google AI Studio /v1/files upload API support (#9645) 2025-04-02 08:56:58 -07:00
rerank Add cohere v2/rerank support (#8421) (#8605) 2025-02-22 22:25:29 -08:00
responses build(pyproject.toml): add new dev dependencies - for type checking (#9631) 2025-03-29 11:02:13 -07:00
base_model_iterator.py Litellm dev 12 30 2024 p2 (#7495) 2025-01-01 18:57:29 -08:00
base_utils.py Support discovering gemini, anthropic, xai models by calling their /v1/model endpoint (#9530) 2025-03-27 22:50:48 -07:00