Commit Graph

34378 Commits

Author SHA1 Message Date
Rajan Paneru
2e7c1cb736 resolve-conclit: pulled the changes from main 2024-05-22 12:14:10 +09:30
Rajan Paneru
874847099a moved script to the workflow folder 2024-05-22 12:13:06 +09:30
Rajan Paneru
ac044c4bc6 created github worflow to update the file and create a pull-request 2024-05-22 12:13:06 +09:30
Rajan Paneru
192feba2aa reverted the changes made in circleci 2024-05-22 12:13:03 +09:30
Rajan Paneru
41d76b477b Daily JSON update: 2024-05-19 2024-05-22 12:11:43 +09:30
Rajan Paneru
c0ceac1dba update price & context window file daily, commit and push to the main 2024-05-22 12:11:11 +09:30
Rajan Paneru
51fa42e13a resolve conflict 2024-05-22 12:09:30 +09:30
vietpham1911
1b16652629 Implemented feature to add input_cost_per_image 2024-05-22 12:08:35 +09:30
vietpham1911
4a7fd2ea3e Wrote the code more clean and more efficient. Furthermore, the code adds the input_cost_per_image and supports_vision to the models if the two values exist. 2024-05-22 12:08:35 +09:30
Rajan Paneru
ea4b766a94 updated the config to run the script 2024-05-22 12:08:35 +09:30
vietpham1911
514477b1e7 Bug fix: The prior code removed values like "supports_function_calling" or "supports_vision". This is fixed now.
Nothing is being removed. Only the pricings and the maximum tokens are being edited and new models in openrouter are being added.
2024-05-22 12:08:35 +09:30
vietpham1911
771f06bd17 Add the models of openrouter that are not in the json file with the pricings of the models yet 2024-05-22 12:08:35 +09:30
vietpham1911
5149a1de86 Added script for auto updating the pricing with the pricings of openrouter.ai 2024-05-22 12:08:35 +09:30
Ishaan Jaff
908195610d bump: version 1.37.19 → 1.37.20 2024-05-21 19:11:27 -07:00
Krish Dholakia
febd57dc81
Merge pull request #3768 from BerriAI/litellm_lowest_latency_ttft_routing
feat(lowest_latency.py): route by time to first token, for streaming requests (if available)
2024-05-21 19:11:02 -07:00
Krrish Dholakia
0001b3208d test(test_alangfuse.py): skip langfuse test 2024-05-21 19:00:12 -07:00
Ishaan Jaff
e0cf055be6
Merge pull request #3772 from BerriAI/litellm_create_keys_with_permissions
[Feat] Proxy - Create Keys that can only access `/spend` routes on Admin UI
2024-05-21 18:53:49 -07:00
Ishaan Jaff
b513569a95 docs - invite team members to access /spend routes 2024-05-21 18:53:26 -07:00
Krrish Dholakia
207924d08f test(test_streaming.py): retry if openai is inconsistent with stream options 2024-05-21 18:51:24 -07:00
Krrish Dholakia
f19d7327ca fix(lowest_latency.py): set default none value for time_to_first_token in sync log success event 2024-05-21 18:42:15 -07:00
Ishaan Jaff
67b85d9dda undo ui changes 2024-05-21 18:39:25 -07:00
Krrish Dholakia
20ad1a5189 test(test_router_caching.py): fix caching tests 2024-05-21 18:07:46 -07:00
Ishaan Jaff
7cbdf02a9b ui - set permissions on keys 2024-05-21 18:06:56 -07:00
Krrish Dholakia
bfde1357dd test(test_router_caching.py): fix test 2024-05-21 18:05:05 -07:00
Ishaan Jaff
64130e368c feat - create keys with permissions 2024-05-21 18:04:17 -07:00
Krish Dholakia
aae404fdab
Merge pull request #3771 from BerriAI/litellm_force_anthropic_tool_use
Support anthropic 'tool_choice' param
2024-05-21 18:00:03 -07:00
Krrish Dholakia
af1d209f8f docs(input.md): add anthropic tool choice support to docs 2024-05-21 17:56:21 -07:00
Krrish Dholakia
f3d29a6b4a feat(anthropic.py): support anthropic 'tool_choice' param
Closes https://github.com/BerriAI/litellm/issues/3752
2024-05-21 17:50:44 -07:00
Ishaan Jaff
1d35b7543a UI - create keys limited to specific routes 2024-05-21 17:39:37 -07:00
Krrish Dholakia
124fb18ce7 test(test_logfire.py): skip logfire tests - breaking on ci/cd 2024-05-21 17:37:16 -07:00
Krrish Dholakia
8dede0c351 test(test_logfire.py): skip logfire tests 2024-05-21 17:36:17 -07:00
Krrish Dholakia
d5fd3095e4 test(test_logfire.py): skip logfire tests 2024-05-21 17:34:55 -07:00
Krrish Dholakia
cc41db018f test(test_router.py): fix testing 2024-05-21 17:31:31 -07:00
Krrish Dholakia
988970f4c2 feat(router.py): Fixes https://github.com/BerriAI/litellm/issues/3769 2024-05-21 17:24:51 -07:00
Krrish Dholakia
62e5559e0a fix(utils.py): filter out hf eos token
Closes https://github.com/BerriAI/litellm/issues/3757
2024-05-21 14:31:54 -07:00
Ishaan Jaff
33a6647fac fix don't log langfuse cache_hit in tags 2024-05-21 14:18:53 -07:00
Krrish Dholakia
eea1edb973 test(test_alangfuse.py): skip test for this pr 2024-05-21 14:08:05 -07:00
Krrish Dholakia
2b3da449c8 feat(lowest_latency.py): route by time to first token, for streaming requests (if available)
Closes https://github.com/BerriAI/litellm/issues/3574
2024-05-21 13:08:17 -07:00
Ishaan Jaff
18a9d6cf2d
Merge pull request #3765 from BerriAI/litellm_bump_sdk
[Fix] Bump OpenAI version on Litellm PIP package [OpenAI>=1.27.0]
2024-05-21 11:36:27 -07:00
Ishaan Jaff
25812d3573 bump openai version 2024-05-21 11:33:57 -07:00
Ishaan Jaff
c9fd6dbb22 feat - bump OpenAI version 2024-05-21 11:32:33 -07:00
Ishaan Jaff
42c18a68e9
Merge pull request #3759 from BeatrixCohere/beatrix/CohereClient
[Cohere] Add request source to request
2024-05-21 11:19:57 -07:00
Krrish Dholakia
620e6db027 build(model_prices_and_context_window.json): update azure/gpt-3.5-turbo base model pricing 2024-05-21 10:58:16 -07:00
Ishaan Jaff
a7738c3b69
Merge pull request #3763 from BerriAI/docs_add_meta_llama3
docs - add bedrock meta llama3
2024-05-21 10:39:26 -07:00
Ishaan Jaff
48b5593a83 docs - add bedrock meta llama3 2024-05-21 10:38:50 -07:00
Krish Dholakia
8596bf0ddf
Merge pull request #3756 from elisalimli/main
Revert "Revert "Logfire Integration""
2024-05-21 09:31:36 -07:00
Hannes Burrichter
8ed41dee09 Revert set Langfuse output to null for embedding responses 2024-05-21 18:25:24 +02:00
Hannes Burrichter
82391d270c Add null check to parent_observation_id assignment 2024-05-21 18:24:18 +02:00
Krish Dholakia
2cda5a2bc3
Merge pull request #3412 from sumanth13131/usage-based-routing-ttl-on-cache
usage-based-routing-ttl-on-cache
2024-05-21 07:58:41 -07:00
Hannes Burrichter
b89b3d8c44
Merge branch 'BerriAI:main' into main 2024-05-21 13:51:55 +02:00