Commit graph

14389 commits

Author SHA1 Message Date
Krish Dholakia
49a72ffb51
Merge pull request #4486 from ubirdio/vertex-ai-beta-fix
Fix usage of parameter-based credentials when using vertex_ai_beta route
2024-07-01 08:15:49 -07:00
Krrish Dholakia
be3c98bc16 fix(main.py): copy messages - prevent modifying user input
Fixes https://github.com/BerriAI/litellm/discussions/4489
2024-07-01 08:14:46 -07:00
Ishaan Jaff
c31156e5e6
Merge pull request #4484 from Manouchehri/add-me-converse-shoes-1
fix(bedrock_httpx.py): Add anthropic.claude-3-5-sonnet-20240620-v1:0 to converse list
2024-07-01 07:37:19 -07:00
Ishaan Jaff
19464b2521 fix openai compatible doc quote 2024-07-01 07:36:06 -07:00
David Manouchehri
9a74364baa
fix(bedrock_httpx.py): Add anthropic.claude-3-5-sonnet-20240620-v1:0 to the converse list. 2024-07-01 14:18:23 +00:00
Ishaan Jaff
9be176140d
Merge pull request #4485 from sauravpanda/main
Update azure_ai.md
2024-07-01 07:15:59 -07:00
Indigo
d17816dd20
Fix usage of parameter-based credentials when using vertex_ai_beta route 2024-07-01 15:54:02 +10:00
Saurav Panda
afb615b5c9
Update azure_ai.md
Invalid key name for azure openai
2024-07-01 00:41:51 -04:00
Krrish Dholakia
46fe089204 docs(vertex.md): add vertex json schema details to docs 2024-06-30 09:14:43 -07:00
Ishaan Jaff
8b1b79e15b ci/cd run again 2024-06-29 20:56:29 -07:00
Ishaan Jaff
d25b079caf fix img gen test 2024-06-29 20:54:22 -07:00
Krish Dholakia
11338c409d
Merge pull request #4482 from BerriAI/litellm_vertex_anthropic_json_mode
Vertex anthropic json mode
2024-06-29 20:18:47 -07:00
Krish Dholakia
06eb361820
Merge branch 'main' into litellm_vertex_anthropic_json_mode 2024-06-29 20:18:41 -07:00
Krish Dholakia
58d0330cd7
Merge pull request #4478 from BerriAI/litellm_support_response_schema_param_vertex_ai_old
feat(vertex_httpx.py): support the 'response_schema' param for older vertex ai models
2024-06-29 20:17:39 -07:00
Ishaan Jaff
eac42bb473 ci/cd run again 2024-06-29 20:13:32 -07:00
Ishaan Jaff
bde34c79d7 bump: version 1.41.1 → 1.41.2 2024-06-29 20:03:17 -07:00
Ishaan Jaff
4910029eeb
Merge pull request #4479 from BerriAI/litellm_fix_admin_ui_login_issue
[Fix] Admin UI - fix error users we're seeing when logging in (use correct  user_id  when creating key for admin ui)
2024-06-29 20:00:45 -07:00
Krrish Dholakia
2ab6f2be63 style: trigger new build 2024-06-29 19:58:02 -07:00
Krrish Dholakia
1ec0c71a14 ci(config.yml): add jsonschema to ci/cd 2024-06-29 19:58:02 -07:00
Krrish Dholakia
824e0c5e39 build(pyproject.toml): remove ijson dep. add jsonschema dep. 2024-06-29 19:58:01 -07:00
Krrish Dholakia
5df940c54d test(test_amazing_vertex_completion.py): reduce vertex tests - quota exhaustion 2024-06-29 19:58:01 -07:00
Krrish Dholakia
3f9859e638 fix(utils.py): add 'enforce_validation' param 2024-06-29 19:57:41 -07:00
Ishaan Jaff
03dbc29c85 fix test_completion_replicate_llama3_streaming 2024-06-29 19:51:07 -07:00
Ishaan Jaff
bad49a270d fix test test_provisioned_throughput 2024-06-29 19:41:05 -07:00
Ishaan Jaff
46698ae01f fix param mapping for bedrock claude 2024-06-29 19:33:51 -07:00
Krish Dholakia
5f942e7fcf
Merge pull request #4413 from BerriAI/litellm_clean_metadata_langfuse
fix(langfuse.py): use clean metadata instead of deepcopy
2024-06-29 19:28:31 -07:00
Krrish Dholakia
25b1463920 style: trigger new build 2024-06-29 19:26:21 -07:00
Krrish Dholakia
b3944529e4 ci(config.yml): add jsonschema to ci/cd 2024-06-29 19:25:16 -07:00
Krrish Dholakia
dc0218d34c build(pyproject.toml): remove ijson dep. add jsonschema dep. 2024-06-29 19:24:00 -07:00
Krrish Dholakia
b78043f904 test(test_amazing_vertex_completion.py): reduce vertex tests - quota exhaustion 2024-06-29 19:14:19 -07:00
Krrish Dholakia
7670c5bd13 fix(utils.py): add 'enforce_validation' param 2024-06-29 19:12:00 -07:00
Krrish Dholakia
69d06cfbcd fix(utils.py): fix passing additional param to post-call processing 2024-06-29 18:58:44 -07:00
Krrish Dholakia
4b1e85f54e fix(vertex_ai_anthropic.py): support pre-filling "{" for json mode 2024-06-29 18:54:10 -07:00
Ishaan Jaff
588f0e50d2 ci/cd run again 2024-06-29 18:48:13 -07:00
Ishaan Jaff
f9ba3cf668 fix bedrock claude test 2024-06-29 18:46:06 -07:00
Ishaan Jaff
9eee36b449 add better debugging on /spend/report 2024-06-29 18:01:25 -07:00
Ishaan Jaff
22ad5b407e
Merge pull request #4474 from BerriAI/litellm_store_full_exception_inDB
[Fix] Proxy ErrorLogs store raw exception in error log
2024-06-29 17:46:24 -07:00
Ishaan Jaff
c6fda7fb7e
Merge pull request #4480 from BerriAI/litellm_fix_image_gen_issue
[Fix] DALL-E connection error bug on litellm proxy
2024-06-29 17:45:57 -07:00
Ishaan Jaff
19014dd931
Merge pull request #4477 from BerriAI/litellm_fix_exception_mapping
[Fix]  - Error str in OpenAI, Azure exception
2024-06-29 17:37:26 -07:00
Ishaan Jaff
0bda80ddea test- router when using openai prefix 2024-06-29 17:28:08 -07:00
Ishaan Jaff
8a4cffa06e fix _api_version check on CustomHttpTransport 2024-06-29 17:25:41 -07:00
Krish Dholakia
d2f44ab4fc
Merge pull request #4371 from bschulth/litellm_ftr_bedrock_aws_session_token
[Feature] Support aws_session_token for bedrock client. [https://github.com/BerriAI/litellm/issues/4346]
2024-06-29 17:09:43 -07:00
Brian Schultheiss
632b7ce17d Resolve merge conflicts 2024-06-29 15:53:02 -07:00
Ishaan Jaff
457689c31a fix image gen connection error 2024-06-29 15:51:28 -07:00
Krrish Dholakia
b699d9a8b9 fix(utils.py): support json schema validation 2024-06-29 15:05:52 -07:00
Ishaan Jaff
37352ba692 fix - use correct user_id when creating key for admin ui 2024-06-29 14:36:58 -07:00
Ishaan Jaff
2f741bdcff test - correct error str on exceptions 2024-06-29 13:29:28 -07:00
Krrish Dholakia
05dfc63b88 feat(vertex_httpx.py): support the 'response_schema' param for older vertex ai models - pass as prompt (user-controlled)
if 'response_schema' is not supported for vertex model (e.g. gemini-1.5-flash) pass in prompt
2024-06-29 13:25:27 -07:00
Ishaan Jaff
d131380563 fix test router debug logs 2024-06-29 13:24:57 -07:00
Krish Dholakia
6271e21bcb
Merge pull request #4476 from BerriAI/litellm_support_response_schema
fix(utils.py): new `supports_response_schema()` function to check if provider/model supports the param
2024-06-29 13:21:13 -07:00