Commit graph

1286 commits

Author SHA1 Message Date
Krrish Dholakia
015d1a4fd9 fix(vertex_httpx.py): google search grounding fix 2024-07-14 08:06:17 -07:00
Ishaan Jaff
954410de64 fix exception raised in factory.py 2024-07-13 09:54:32 -07:00
Krrish Dholakia
fd16974996 fix(factory.py): handle message content being a list instead of string
Fixes https://github.com/BerriAI/litellm/issues/4679
2024-07-12 19:00:39 -07:00
Krrish Dholakia
4895cc7c01 fix(bedrock_httpx.py): handle user error - malformed system prompt
if user passes in system prompt as a list of content blocks, handle that
2024-07-12 08:28:50 -07:00
Krish Dholakia
f01298bec9 Merge pull request #4588 from Manouchehri/vertex-seed-2973
feat(vertex_httpx.py): Add seed parameter
2024-07-11 22:02:13 -07:00
Krrish Dholakia
49e70ee036 fix: fix linting errors 2024-07-11 13:44:29 -07:00
Krrish Dholakia
948fd6fc33 fix: fix linting errors 2024-07-11 13:36:55 -07:00
Krrish Dholakia
c69193c321 fix: move to using pydantic obj for setting values 2024-07-11 13:18:36 -07:00
Krrish Dholakia
91c1d7bfa8 fix(watsonx.py): fix watson process response
Fixes https://github.com/BerriAI/litellm/issues/4654
2024-07-11 09:34:46 -07:00
Krish Dholakia
f4d140efec Merge pull request #4635 from BerriAI/litellm_anthropic_adapter
Anthropic `/v1/messages` endpoint support
2024-07-10 22:41:53 -07:00
Krrish Dholakia
c46e3ce590 fix: fix linting error 2024-07-10 22:14:23 -07:00
Krrish Dholakia
48be4ce805 feat(proxy_server.py): working /v1/messages with config.yaml
Adds async router support for adapter_completion call
2024-07-10 18:53:54 -07:00
Krrish Dholakia
4ba30abb63 feat(proxy_server.py): working /v1/messages endpoint
Works with claude engineer
2024-07-10 18:15:38 -07:00
Ishaan Jaff
a94be8b616 fix test_bedrock_httpx_streaming 2024-07-10 17:14:53 -07:00
Ishaan Jaff
b4138cf9e5 add all openai file endpoints 2024-07-10 15:35:21 -07:00
Ishaan Jaff
84c172f9fc add retrive file to litellm SDK 2024-07-10 14:51:48 -07:00
Ishaan Jaff
49af2d831e add async assistants delete support 2024-07-10 11:14:40 -07:00
Ishaan Jaff
08caa5ac26 add delete assistant SDK 2024-07-10 10:33:00 -07:00
Krrish Dholakia
01a335b4c3 feat(anthropic_adapter.py): support for translating anthropic params to openai format 2024-07-10 00:32:28 -07:00
Ishaan Jaff
0b0aa7c3cd fix bedrock better debugging for credentials 2024-07-09 22:02:17 -07:00
Krrish Dholakia
789d2dab15 fix(vertex_httpx.py): add sync vertex image gen support
Fixes https://github.com/BerriAI/litellm/issues/4623
2024-07-09 13:33:54 -07:00
Ishaan Jaff
6000687601 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
bb2a4422e3 add acreate_assistants 2024-07-09 09:33:41 -07:00
Ishaan Jaff
17aadfad7c add create_assistants 2024-07-09 08:51:42 -07:00
Krrish Dholakia
f98c819d4b fix(vertex_httpx.py): fix gtool handling 2024-07-09 08:01:49 -07:00
Krrish Dholakia
1369f7f280 fix(factory.py): check if assistant message content is not none before translating 2024-07-09 07:48:12 -07:00
Krrish Dholakia
71ad281c0a 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
Krrish Dholakia
3506421074 fix(azure.py): improve error handling for azure image gen responses 2024-07-08 16:39:05 -07:00
Ishaan Jaff
484ef0fc0e 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
Krrish Dholakia
5c7107e44f fix(factory.py): flexible handling of image file type in b64 encode
Fixes https://github.com/BerriAI/litellm/issues/4589
2024-07-08 09:46:47 -07:00
Krrish Dholakia
d68ab2a8bc fix(whisper---handle-openai/azure-vtt-response-format): Fixes https://github.com/BerriAI/litellm/issues/4595 2024-07-08 09:10:40 -07:00
Krrish Dholakia
a00a1267bc fix(utils.py): support 'drop_params' for 'parallel_tool_calls'
Closes https://github.com/BerriAI/litellm/issues/4584

 OpenAI-only param
2024-07-08 07:36:41 -07:00
David Manouchehri
739e3a723e feat(httpx): Send litellm version upstream. 2024-07-08 05:40:32 +00:00
David Manouchehri
3f993699c0 feat(vertex_httpx.py): Add undocumented seed parameter. 2024-07-07 23:32:04 +00:00
Simon Sanchez Viloria
efba0981af (fix - watsonx.py) Added missing imports, moved/fixed scope of process_response 2024-07-07 18:55:42 +02:00
Simon S. Viloria
8eb78cbd98 Merge branch 'BerriAI:main' into main 2024-07-07 18:00:11 +02:00
Simon Sanchez Viloria
8d7c5049f8 (fix - watsonx) Fixed issues with watsonx embedding/async endpoints 2024-07-07 17:59:37 +02:00
Krish Dholakia
c6b6dbeb6b Merge branch 'main' into litellm_fix_httpx_transport 2024-07-06 19:12:06 -07:00
Krrish Dholakia
9f900a1bed fix(vertex_httpx.py): support tool calling w/ streaming for vertex ai + gemini 2024-07-06 14:02:25 -07:00
Ishaan Jaff
546ca2ce6f Merge pull request #4566 from BerriAI/litellm_anthropic_Streaming
fix - raise report Anthropic streaming errors
2024-07-05 19:56:05 -07:00
Ishaan Jaff
5906b60c9a fix - raise report Anthropic streaming errors 2024-07-05 15:31:06 -07:00
Ishaan Jaff
75e8818b0d fix nvidia nim param mapping 2024-07-05 14:44:12 -07:00
Krrish Dholakia
56410cfcd0 fix(proxy_server.py): support langfuse logging for rejected requests on /v1/chat/completions 2024-07-05 13:07:09 -07:00
Krish Dholakia
9d83d440bf Revert "(fix) fixed bug with the watsonx embedding endpoint" 2024-07-05 11:40:59 -07:00
Krish Dholakia
f2c6f1e404 Merge pull request #4540 from simonsanvil/main
(fix) fixed bug with the watsonx embedding endpoint
2024-07-05 11:40:53 -07:00
Krrish Dholakia
8a8dde6622 fix(vertex_httpx.py): fix assumptions on usagemetadata 2024-07-05 11:01:51 -07:00
Igor Drozdov
97ee9dcf8b fix(anthropic.py): add index to streaming tool use 2024-07-05 12:23:58 +02:00
Krrish Dholakia
d0862697b8 fix(vertex_httpx.py): fix supported vertex params 2024-07-04 21:17:52 -07:00
Krrish Dholakia
00497b408d fix(anthropic.py): fix anthropic tool calling + streaming
Fixes https://github.com/BerriAI/litellm/issues/4537
2024-07-04 16:30:24 -07:00
Krrish Dholakia
bd41a8868a fix(http_handler.py): cleanup custom mounting logic 2024-07-04 15:32:50 -07:00