Commit Graph

10596 Commits

Author SHA1 Message Date
Krrish Dholakia
2c67791663 test(test_completion.py): modify acompletion test to call pre-deployed watsonx endpoint 2024-04-27 11:19:00 -07:00
Krrish Dholakia
c9d7437d16 fix(watsonx.py): use common litellm params for api key, api base, etc. 2024-04-27 10:15:27 -07:00
Krish Dholakia
a76e40df73
Merge pull request #3328 from BerriAI/revert-2780-fix-anthropic-messages-api
Revert "Fix Anthropic Messages Prompt Template function to add a third condition: list of text-content dictionaries"
2024-04-27 08:58:14 -07:00
Krish Dholakia
2a006c3d39
Revert "Fix Anthropic Messages Prompt Template function to add a third condition: list of text-content dictionaries" 2024-04-27 08:57:18 -07:00
Krish Dholakia
4cccd470ab
Merge pull request #3324 from suptejas/patch-1
fix: incorrect analysis for vertex ai env vars causing confusion
2024-04-27 07:03:01 -07:00
Tejas Ravishankar
8ff9555bcf
fix: duplicate mention of VERTEXAI_PROJECT environment variable causing confusion 2024-04-27 17:47:28 +04:00
Krish Dholakia
2d976cfabc
Merge pull request #3270 from simonsanvil/feature/watsonx-integration
(feat) add IBM watsonx.ai as an llm provider
2024-04-27 05:48:34 -07:00
Krish Dholakia
4eb728d701
Merge pull request #3312 from hellof20/main
add safety_settings parameters to Vertex AI async mode
2024-04-27 05:46:06 -07:00
Krish Dholakia
317b9b7d96
Merge pull request #2780 from eercanayar/fix-anthropic-messages-api
Fix Anthropic Messages Prompt Template function to add a third condition: list of text-content dictionaries
2024-04-27 05:45:42 -07:00
Emir Ayar
2ecbf6663a Add test for completion with text content dictionaries 2024-04-27 12:27:12 +02:00
Emir Ayar
38b5f34c77
Merge branch 'BerriAI:main' into fix-anthropic-messages-api 2024-04-27 11:50:04 +02:00
Krrish Dholakia
487652fd0a bump: version 1.35.29 → 1.35.30 2024-04-26 22:42:16 -07:00
Krrish Dholakia
2aa4976b82 docs(mistral.md): update to show tool calling example 2024-04-26 17:16:25 -07:00
Krrish Dholakia
93463565fb fix(replicate.py): pass version if passed in 2024-04-26 17:11:21 -07:00
Krrish Dholakia
e05764bdb7 fix(router.py): add /v1/ if missing to base url, for openai-compatible api's
Fixes https://github.com/BerriAI/litellm/issues/2279
2024-04-26 17:05:07 -07:00
Krrish Dholakia
180718c33f fix(router.py): support verify_ssl flag
Fixes https://github.com/BerriAI/litellm/issues/3162#issuecomment-2075273807
2024-04-26 15:38:01 -07:00
Krrish Dholakia
7730520fb0 fix(router.py): allow passing httpx.timeout to timeout param in router
Closes https://github.com/BerriAI/litellm/issues/3162
2024-04-26 14:57:19 -07:00
Ishaan Jaff
2fb9b88f48
Merge pull request #3317 from BerriAI/docs_fix_deploy_with_db
docs improvement - deploying litellm-database
2024-04-26 10:26:13 -07:00
Ishaan Jaff
644d8c71b8 docs - setting up litellm-database 2024-04-26 10:23:15 -07:00
pwm
6fedcb873b add safety_settings parameters to Vertex vision async_completion function 2024-04-26 14:35:01 +08:00
Krrish Dholakia
5583197d63 fix(proxy_server.py): fix setting offset-aware datetime 2024-04-25 21:18:32 -07:00
Ishaan Jaff
1bb82ef42f ui -new build 2024-04-25 20:33:02 -07:00
Ishaan Jaff
6105522e55 fix - ui validation bug 2024-04-25 20:33:02 -07:00
Krrish Dholakia
9eb75cc159 test(test_streaming.py): fix test 2024-04-25 20:22:18 -07:00
Krrish Dholakia
5307510592 test: rename test 2024-04-25 20:07:40 -07:00
Krrish Dholakia
486c8ccc30 fix(utils.py): handle pydantic v1 2024-04-25 20:01:36 -07:00
Krrish Dholakia
850b056df5 fix(utils.py): add more logging to identify ci/cd issue 2024-04-25 19:57:24 -07:00
Krrish Dholakia
039ea5497f bump: version 1.35.28 → 1.35.29 2024-04-25 19:51:38 -07:00
Krrish Dholakia
caaa05703d refactor(main.py): trigger new build 2024-04-25 19:51:38 -07:00
Krish Dholakia
40b6b4794b
Merge pull request #3310 from BerriAI/litellm_langfuse_error_logging_2
fix(proxy/utils.py): log rejected proxy requests to langfuse
2024-04-25 19:49:59 -07:00
Ishaan Jaff
a881d16101
Merge pull request #3301 from BerriAI/debug_lowest_latency
[Fix] sending deployment latencies to slack alerting - lowest_latency
2024-04-25 19:43:25 -07:00
Ishaan Jaff
24e918b10f fix clean up prints from slack alerting 2024-04-25 19:36:42 -07:00
Ishaan Jaff
bf92a0b31c fix debugging lowest latency router 2024-04-25 19:34:28 -07:00
Krrish Dholakia
885de2e3c6 fix(proxy/utils.py): log rejected proxy requests to langfuse 2024-04-25 19:26:27 -07:00
Krish Dholakia
69280177a3
Merge pull request #3308 from BerriAI/litellm_fix_streaming_n
fix(utils.py): fix the response object returned when n>1 for stream=true
2024-04-25 18:36:54 -07:00
Krrish Dholakia
86a3d24d75 fix(utils.py): pass through 'response_format' for mistral 2024-04-25 18:27:41 -07:00
Krrish Dholakia
1ebc7bb3b7 fix(utils.py): handle finish reason logic 2024-04-25 18:18:00 -07:00
Krrish Dholakia
9f5ba67f5d fix(utils.py): return logprobs as an object not dict 2024-04-25 17:55:18 -07:00
Krrish Dholakia
ccb864bbea fix(factory.py): correctly apply bos token for llama3 instruct prompt template 2024-04-25 17:37:17 -07:00
Ishaan Jaff
5bd50a6cc0
Merge pull request #3239 from BerriAI/dependabot/npm_and_yarn/litellm-js/spend-logs/hono-4.2.7
build(deps): bump hono from 4.1.5 to 4.2.7 in /litellm-js/spend-logs
2024-04-25 16:42:47 -07:00
Ishaan Jaff
4a15c0aab9
Merge pull request #3265 from Manouchehri/gunicorn-3257
(requirements.txt) - Update gunicorn to 22.0.0 for CVE-2024-1135
2024-04-25 16:42:25 -07:00
Ishaan Jaff
b45ff5a87b bump: version 1.35.27 → 1.35.28 2024-04-25 16:40:02 -07:00
Ishaan Jaff
72cca34739 ui - new build 2024-04-25 16:39:05 -07:00
Ishaan Jaff
88e1a44dfe
Merge pull request #3309 from BerriAI/litellm_set_unique_webhooks_per_alert
[FEAT - UI + Backend] Proxy - set unique webhooks per alert
2024-04-25 16:35:26 -07:00
Ishaan Jaff
de6e03f410
Merge pull request #3307 from BerriAI/litellm_set_alerts_per_channel
[Backend-Alerting] Separate alerting for different channels
2024-04-25 16:35:16 -07:00
Ishaan Jaff
96921864dc fixes for testing alerting 2024-04-25 16:33:55 -07:00
Ishaan Jaff
ebc27a2969 fix alert success message 2024-04-25 16:30:05 -07:00
Ishaan Jaff
58d7b73b17 test alerts setup 2024-04-25 16:29:52 -07:00
Ishaan Jaff
557d45b4ec ui - polish alerts screen 2024-04-25 16:15:39 -07:00
Ishaan Jaff
6b52288531 ui - use tabs for callbacks and alerting 2024-04-25 16:09:28 -07:00