Commit graph

14424 commits

Author SHA1 Message Date
dependabot[bot]
0daa9e94a6
build(deps): bump zipp from 3.18.2 to 3.19.1
Bumps [zipp](https://github.com/jaraco/zipp) from 3.18.2 to 3.19.1.
- [Release notes](https://github.com/jaraco/zipp/releases)
- [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst)
- [Commits](https://github.com/jaraco/zipp/compare/v3.18.2...v3.19.1)

---
updated-dependencies:
- dependency-name: zipp
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-09 19:26:57 +00:00
Krrish Dholakia
ba334ff8b9 refactor(provider_specific_params.md): create separate doc for provider-specific param
Make it easier for people to know, how litellm handles provider-specific params.
2024-07-09 12:23:46 -07:00
Ishaan Jaff
6bce7e73a3
Merge pull request #4627 from BerriAI/litellm_fix_thread_auth
[Fix] Authentication on /thread endpoints on Proxy
2024-07-09 12:19:19 -07:00
Ishaan Jaff
e9b14a56d2 test /threads endpoint 2024-07-09 12:17:42 -07:00
Krrish Dholakia
127eaafaa4 test(test_completion.py): skip test 2024-07-09 12:10:34 -07:00
Ishaan Jaff
d2f8269674 test is open ai routes function 2024-07-09 12:10:04 -07:00
Krish Dholakia
aa2fd29e48
Merge pull request #3955 from liuyl/empower-functions-v1
Add empower-functions integration to litellm
2024-07-09 12:09:55 -07:00
Ishaan Jaff
b30fa64e2a fix - use helper to check if a route is openai route 2024-07-09 12:00:07 -07:00
Krrish Dholakia
dbf4acc4ce docs(image_generation.md): add proxy image gen example to docs 2024-07-09 11:56:21 -07:00
Ishaan Jaff
e380954de1 add helper to check is_openai_route 2024-07-09 11:50:12 -07:00
Ishaan Jaff
9423ab95ba fix add assistant settings on config 2024-07-09 10:05:32 -07:00
Ishaan Jaff
12f207b499 feat - support /create assistants endpoint 2024-07-09 10:03:47 -07:00
Ishaan Jaff
6479442d5b feat - support acreate_assistants endpoint 2024-07-09 09:49:38 -07:00
Ishaan Jaff
f5eb862635 router - add acreate_assistants 2024-07-09 09:46:28 -07:00
Ishaan Jaff
e4ad792d5d async test assistants 2024-07-09 09:44:18 -07:00
Ishaan Jaff
f4f07e13f3 add acreate_assistants 2024-07-09 09:33:41 -07:00
Ishaan Jaff
06926920d5 test - create assistants 2024-07-09 08:54:49 -07:00
Ishaan Jaff
9e22ce905e add create_assistants 2024-07-09 08:51:42 -07:00
Krrish Dholakia
2f5f85cb52 docs(callbacks.md): cleanup docs 2024-07-09 08:43:03 -07:00
Krrish Dholakia
a784f7d8df fix(vertex_httpx.py): fix gtool handling 2024-07-09 08:01:49 -07:00
Krrish Dholakia
54c31e5af7 fix(factory.py): check if assistant message content is not none before translating 2024-07-09 07:48:12 -07:00
Krrish Dholakia
e4105a6959 docs(configs.md): add ip address filtering to docs 2024-07-08 21:59:26 -07:00
Krrish Dholakia
5d12072cc0 docs(vertex.md): add vertex ai grounding to docs 2024-07-08 21:45:17 -07:00
Krrish Dholakia
f5d560fd5a bump: version 1.41.13 → 1.41.14 2024-07-08 21:37:44 -07:00
Krrish Dholakia
7541478459 feat(vertex_httpx.py): add support for gemini 'grounding'
Adds support for https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/grounding#rest
2024-07-08 21:37:07 -07:00
Krish Dholakia
a986413df3
Merge pull request #4615 from BerriAI/litellm_user_api_key_auth
Enable `allowed_ip's` for proxy
2024-07-08 17:35:11 -07:00
Yulong Liu
feb42c91a6 remove print 2024-07-08 17:03:07 -07:00
Yulong Liu
cb025a7f26 Merge branch 'main' into empower-functions-v1 2024-07-08 17:01:15 -07:00
Krrish Dholakia
381347082d fix(azure.py): improve error handling for azure image gen responses 2024-07-08 16:39:05 -07:00
Yulong Liu
3132e5962d add tests 2024-07-08 16:32:58 -07:00
Krrish Dholakia
fe62e4e1c4 fix(proxy_cli.py): bump default azure api version 2024-07-08 16:28:22 -07:00
Ishaan Jaff
f6a0d6f33d bump: version 1.41.12 → 1.41.13 2024-07-08 16:19:33 -07:00
Ishaan Jaff
4af1d032a8 ui new build 2024-07-08 16:19:25 -07:00
Krrish Dholakia
3045a2d9b3 fix(proxy_server.py): add license protection for 'allowed_ip' address feature 2024-07-08 16:04:44 -07:00
Krrish Dholakia
f3cc57bc6f feat(user_api_key_auth.py): allow restricting calls by IP address
Allows admin to restrict which IP addresses can make calls to the proxy
2024-07-08 15:58:15 -07:00
Krrish Dholakia
95739c3778 fix(utils.py): additional_drop_params support for embedding + image gen
Closes https://github.com/BerriAI/litellm/issues/4354
2024-07-08 15:25:47 -07:00
Ishaan Jaff
49cd8171a6 fix place holders on adding new models 2024-07-08 15:20:15 -07:00
Ishaan Jaff
ecf63e655e
Merge pull request #4609 from BerriAI/litellm_ui_imps
UI fixes - Send custom llm provider when adding a new model
2024-07-08 15:19:25 -07:00
Ishaan Jaff
6930881891
Merge pull request #4611 from BerriAI/litellm_fix_assistants_routes
[Proxy-Fix]: Add /assistants, /threads as OpenAI routes
2024-07-08 15:16:11 -07:00
Ishaan Jaff
9d5853943a fix routes on assistants endpoints 2024-07-08 15:02:12 -07:00
Krish Dholakia
1aba2c5bc0
Merge pull request #4610 from andresrguzman/litellm_fix_add_new_member
fix(utils.py): change update to upsert
2024-07-08 14:57:33 -07:00
Ishaan Jaff
d7bfceacc6 send custom llm provider when adding a new model 2024-07-08 14:52:47 -07:00
Andres Guzman
a650160390 fix(utils.py): change update to upsert 2024-07-08 15:49:29 -06:00
Ishaan Jaff
cb52c59481
Merge pull request #4591 from Manouchehri/send-litellm-version-1
feat(httpx): Send litellm user-agent version upstream
2024-07-08 12:59:13 -07:00
Ishaan Jaff
b5abb5a421
Merge pull request #4606 from BerriAI/litellm_raise_error_type
[Fix - Proxy] Raise `type=ProxyErrorTypes.budget_exceeded,` on Exceeded budget errors
2024-07-08 12:57:34 -07:00
Ishaan Jaff
010f651268 fix params on acompletion 2024-07-08 12:56:54 -07:00
Ishaan Jaff
2cc70ddfd7 test type of budget errors 2024-07-08 12:52:40 -07:00
Ishaan Jaff
5c0d4a4162 use ProxyErrorTypes, 2024-07-08 12:47:53 -07:00
Ishaan Jaff
25ddbbb41d raise budget_exceeded in user_api_key_auth 2024-07-08 12:45:39 -07:00
Ishaan Jaff
c6256284da use types for ProxyErrorTypes 2024-07-08 12:42:27 -07:00