Commit Graph

13742 Commits

Author SHA1 Message Date
Ishaan Jaff fcdda417bb docs - volcengine 2024-06-26 17:04:19 -07:00
Ishaan Jaff d213f81b4c add initial support for volcengine 2024-06-26 16:53:44 -07:00
Ishaan Jaff aa2e5d6288 add volcengine as provider to litellm 2024-06-26 16:47:23 -07:00
Ishaan Jaff 90892d4414 Merge pull request #4431 from BerriAI/litellm_use_openai_client_proxy
[Fix-Proxy] Azure Embeddings use AsyncAzureOpenAI Client initialized on litellm.Router for requests
2024-06-26 16:37:31 -07:00
Krrish Dholakia 151d19960e fix(bedrock_httpx.py): Fix https://github.com/BerriAI/litellm/issues/4415 2024-06-26 16:19:46 -07:00
Ishaan Jaff b7bca0af6c fix - reuse client initialized on proxy config 2024-06-26 16:16:58 -07:00
Ishaan Jaff 57852bada9 fix handle_openai_chat_completion_chunk 2024-06-26 16:01:50 -07:00
Ishaan Jaff 90b0bd93a8 Revert "Add return type annotations to util types"
This reverts commit faef56fe69.
2024-06-26 15:59:38 -07:00
Ishaan Jaff cef27241e1 Merge pull request #4427 from BerriAI/litellm_fix_cost_tracking_whisper
[Fix-Proxy] Store SpendLogs when using Whisper, Moderations etc
2024-06-26 15:27:50 -07:00
Ishaan Jaff 5c673551a1 test_spend_logs_payload_whisper 2024-06-26 15:21:49 -07:00
Ishaan Jaff 9ca2193bdf Merge pull request #4420 from guitard0g/add-init-return-annos
Add return type annotations to util types
2024-06-26 15:15:28 -07:00
Ishaan Jaff e0258708c7 fix cost tracking for whisper 2024-06-26 14:21:57 -07:00
Ishaan Jaff a631d3a9dc Merge pull request #4424 from BerriAI/fix_add_ollama_codegemma
fix add ollama codegemma to model cost map
2024-06-26 12:58:27 -07:00
Ishaan Jaff 199bfe612f fix add ollama codegemma 2024-06-26 12:57:09 -07:00
Josh Learn faef56fe69 Add return type annotations to util types 2024-06-26 12:46:59 -04:00
Ishaan Jaff ae431eb85d Merge pull request #4418 from BerriAI/litellm_fireworks_ai_tool_calling
[Feat] Add Fireworks AI Tool calling support
2024-06-26 08:30:06 -07:00
Krrish Dholakia 09f4eb7617 docs(reliable_completions.md): improve headers for easier searching 2024-06-26 08:09:31 -07:00
Ishaan Jaff 829dece9aa test - fireworks ai param mapping 2024-06-26 06:58:00 -07:00
Ishaan Jaff 8a7f2921f2 fix + test fireworks ai param mapping for tools 2024-06-26 06:57:04 -07:00
Ishaan Jaff 6c388dc05a test fireworks ai tool calling 2024-06-26 06:45:29 -07:00
Ishaan Jaff 1cfe03c820 add fireworks ai param mapping 2024-06-26 06:43:18 -07:00
Ishaan Jaff dcdf266f36 fix fireworks ai config 2024-06-26 06:40:44 -07:00
Ishaan Jaff 493a737787 feat - add fireworks ai config for param mapping 2024-06-26 06:29:21 -07:00
Krish Dholakia f9407aaefc Merge pull request #4400 from paul-gauthier/openrouter-35-sonnet
Added openrouter/anthropic/claude-3.5-sonnet & haiku to model json
2024-06-25 21:07:56 -07:00
Krrish Dholakia d6ed8c10b2 docs(function_call.md): cleanup 2024-06-25 18:26:34 -07:00
Ishaan Jaff eca4876bbf run again 2024-06-25 18:22:20 -07:00
Krish Dholakia d772b8d9b0 Merge pull request #4411 from BerriAI/litellm_router_dynamic_cooldowns
fix(router.py): set `cooldown_time:` per model
v1.40.27
2024-06-25 18:20:03 -07:00
Krish Dholakia b1fa0b78bc Merge pull request #4412 from BerriAI/revert-4402-main
Revert "Create litellm user to fix issue with prisma in k8s "
2024-06-25 18:19:47 -07:00
Krish Dholakia ac1f343487 Revert "Create litellm user to fix issue with prisma in k8s " 2024-06-25 18:19:24 -07:00
Ishaan Jaff 45c748475b bump: version 1.40.26 → 1.40.27 2024-06-25 18:13:31 -07:00
Ishaan Jaff f729e61239 Merge pull request #4410 from BerriAI/litellm_add_secret_detection
[Enterprise] Add secret detection pre call hook
2024-06-25 18:09:30 -07:00
Ishaan Jaff 9942a5cbcf Merge branch 'main' into litellm_add_secret_detection 2024-06-25 18:08:51 -07:00
Ishaan Jaff 33c11c94f8 fix detect secrets test 2024-06-25 17:44:36 -07:00
Ishaan Jaff 734ed571e9 docs - secret detection 2024-06-25 17:42:54 -07:00
Ishaan Jaff 66f0d6ae8f test secret detection 2024-06-25 17:27:02 -07:00
Ishaan Jaff 304e84f87c clean up secret detection 2024-06-25 17:25:53 -07:00
Krish Dholakia a43271984c Merge pull request #4402 from CaseMark/main
Create litellm user to fix issue with prisma in k8s
2024-06-25 17:04:04 -07:00
Krrish Dholakia 8fbc34e7e9 docs(routing.md): add dynamic cooldowns to docs 2024-06-25 17:01:58 -07:00
Krrish Dholakia d98e00d1e0 fix(router.py): set cooldown_time: per model 2024-06-25 16:51:55 -07:00
Ishaan Jaff e4653e6032 fix async_pre_call_hook 2024-06-25 16:38:47 -07:00
Ishaan Jaff 38ec55bd95 Merge pull request #4409 from BerriAI/litellm_enforce_premium_license_in_vpc
enterprise - allow verifying license in air gapped vpc
2024-06-25 16:29:57 -07:00
Ishaan Jaff 4abb83b12d fix only use crypto imports when needed 2024-06-25 16:28:47 -07:00
Ishaan Jaff e22c9ba0cc init secret detection callback 2024-06-25 16:25:14 -07:00
Ishaan Jaff 4aa686bb05 feat - add secret detection 2024-06-25 16:23:56 -07:00
Krrish Dholakia e813e984f7 fix(predibase.py): support json schema on predibase 2024-06-25 16:03:47 -07:00
Ishaan Jaff 4c99010eee fix - verify license without api request 2024-06-25 13:55:54 -07:00
Krrish Dholakia 6889a4c0dd fix(utils.py): predibase exception mapping - map 424 as a badrequest error 2024-06-25 13:47:38 -07:00
Krrish Dholakia 6e02ac0056 fix(utils.py): add coverage for anthropic content policy error - vertex ai 2024-06-25 11:47:39 -07:00
Krrish Dholakia cccc55213b fix(router.py): improve error message returned for fallbacks 2024-06-25 11:27:20 -07:00
Ishaan Jaff 2bd993039b Merge pull request #4405 from BerriAI/litellm_update_mock_completion
[Fix] - use `n` in mock completion responses
2024-06-25 11:20:30 -07:00