Commit graph

9 commits

Author SHA1 Message Date
Krrish Dholakia
b59e54d835 fix: fix linting error 2025-04-11 17:29:53 -07:00
Krrish Dholakia
2ec2151537 fix(managed_files.py): retrieve file content support
supports retrieve file content api from openai
2025-04-11 15:51:47 -07:00
Krrish Dholakia
522ffd6e7c fix(managed_files.py): support for DELETE endpoint for files 2025-04-11 15:26:51 -07:00
Krrish Dholakia
cbcf028da5 fix(managed_files.py): support retrieve file operation 2025-04-11 15:01:22 -07:00
Krrish Dholakia
7fff83e441 fix: initial commit for litellm_proxy support with CRUD Endpoints 2025-04-11 12:57:54 -07:00
Krrish Dholakia
59fdb7f59a fix(managed_files.py): apply decoded file id transformation 2025-04-11 12:18:04 -07:00
Krrish Dholakia
4993d9aa50 fix(managed_files.py): return unified file id as b64 str
allows retrieve file id to work as expected
2025-04-11 11:40:49 -07:00
Krish Dholakia
0415f1205e
Litellm dev 04 10 2025 p3 (#9903)
* feat(managed_files.py): encode file type in unified file id

simplify calling gemini models

* fix(common_utils.py): fix extracting file type from unified file id

* fix(litellm_logging.py): create standard logging payload for create file call

* fix: fix linting error
2025-04-11 09:29:42 -07:00
Krish Dholakia
6dda1ba6dd
LiteLLM Minor Fixes & Improvements (04/02/2025) (#9725)
* Add date picker to usage tab + Add reasoning_content token tracking across all providers on streaming (#9722)

* feat(new_usage.tsx): add date picker for new usage tab

allow user to look back on their usage data

* feat(anthropic/chat/transformation.py): report reasoning tokens in completion token details

allows usage tracking on how many reasoning tokens are actually being used

* feat(streaming_chunk_builder.py): return reasoning_tokens in anthropic/openai streaming response

allows tracking reasoning_token usage across providers

* Fix update team metadata + fix bulk adding models on Ui  (#9721)

* fix(handle_add_model_submit.tsx): fix bulk adding models

* fix(team_info.tsx): fix team metadata update

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

* (v0) Unified file id - allow calling multiple providers with same file id (#9718)

* feat(files_endpoints.py): initial commit adding 'target_model_names' support

allow developer to specify all the models they want to call with the file

* feat(files_endpoints.py): return unified files endpoint

* test(test_files_endpoints.py): add validation test - if invalid purpose submitted

* feat: more updates

* feat: initial working commit of unified file id translation

* fix: additional fixes

* fix(router.py): remove model replace logic in jsonl on acreate_file

enables file upload to work for chat completion requests as well

* fix(files_endpoints.py): remove whitespace around model name

* fix(azure/handler.py): return acreate_file with correct response type

* fix: fix linting errors

* test: fix mock test to run on github actions

* fix: fix ruff errors

* fix: fix file too large error

* fix(utils.py): remove redundant var

* test: modify test to work on github actions

* test: update tests

* test: more debug logs to understand ci/cd issue

* test: fix test for respx

* test: skip mock respx test

fails on ci/cd - not clear why

* fix: fix ruff check

* fix: fix test

* fix(model_connection_test.tsx): fix linting error

* test: update unit tests
2025-04-03 11:48:52 -07:00