Ishaan Jaff
282b8d0ae4
test bedrock pricing
2024-05-08 15:26:53 -07:00
Krish Dholakia
91bb7cd261
Merge pull request #3437 from msabramo/add-engines-model-chat-completions-endpoint
...
Add `/engines/{model}/chat/completions` endpoint
2024-05-08 14:30:39 -07:00
Krrish Dholakia
51b6c3bdbc
test(test_function_call_parsing.py): add test for function call parsing
...
Closes https://github.com/BerriAI/litellm/issues/2654
2024-05-08 10:54:26 -07:00
Krrish Dholakia
a854824c02
fix(main.py): fix together ai text completion call
2024-05-08 09:10:45 -07:00
Krish Dholakia
0e709fdc21
Merge branch 'main' into litellm_ui_fixes_6
2024-05-07 22:01:04 -07:00
Krish Dholakia
303e0c6226
Revert "* feat(factory.py): add support for merging consecutive messages of one role when separated with empty message of another role"
2024-05-07 21:42:18 -07:00
Krrish Dholakia
f45954d154
test(test_config.py): fix test
2024-05-07 21:31:03 -07:00
Krish Dholakia
a325bf2fb8
Merge pull request #3478 from nkvch/Issue-#3474-anthropic-roles-alternation-issue
...
* feat(factory.py): add support for merging consecutive messages of one role when separated with empty message of another role
2024-05-07 21:24:47 -07:00
Krrish Dholakia
8d04f4686f
test: fix test
2024-05-07 21:14:33 -07:00
Ishaan Jaff
21d3407b95
fix replicate test
2024-05-07 19:48:46 -07:00
Ishaan Jaff
4e7b5aa9d7
Merge pull request #3439 from phact/patch-3
...
add_function_to_prompt bug fix
2024-05-07 19:31:19 -07:00
Ishaan Jaff
2725a55e7a
Merge pull request #3470 from mbektas/fix-ollama-embeddings
...
support sync ollama embeddings
2024-05-07 19:21:37 -07:00
Ishaan Jaff
223e386737
Merge pull request #3511 from BerriAI/litellm_router_send_exceptions_slack
...
[Feat] litellm.Router / litellm.completion - send llm exceptions to slack
2024-05-07 19:09:44 -07:00
Ishaan Jaff
596adf6e2f
test - slack alerting on litellm router
2024-05-07 19:04:25 -07:00
Ishaan Jaff
17787db973
Merge pull request #3503 from paul-gauthier/deepseek
...
Added "deepseek/" as a supported provider (openai compatible)
2024-05-07 15:15:47 -07:00
Ishaan Jaff
b1230dd919
test - slack alerts on router
2024-05-07 15:12:21 -07:00
Krish Dholakia
2aaaa5e1b4
Merge pull request #3506 from BerriAI/litellm_reintegrate_langfuse_url_slack_alert
...
feat(slack_alerting.py): reintegrate langfuse trace url for slack alerts
2024-05-07 15:03:29 -07:00
Ishaan Jaff
8644aec8d3
test - lowest cost router
2024-05-07 13:52:34 -07:00
Ishaan Jaff
8e5437c8e9
Merge pull request #3504 from BerriAI/litellm_add_lowest_cost_routing
...
[Feat + Test] Add lowest cost routing - litellm.Router
2024-05-07 13:22:58 -07:00
Krrish Dholakia
b872da4e6f
test: fix linting error
2024-05-07 13:18:49 -07:00
Ishaan Jaff
429f569360
test - lowest cost with custom pricing
2024-05-07 13:17:32 -07:00
Krrish Dholakia
e85468badb
test: fix linting error
2024-05-07 13:12:06 -07:00
Ishaan Jaff
71a92b4fef
test - lowest cost router
2024-05-07 13:04:12 -07:00
Ishaan Jaff
41ffaee821
test - basic lowest cost routing
2024-05-07 12:48:20 -07:00
Ishaan Jaff
e5e477d7f5
test - lowest cost routing
2024-05-07 12:19:44 -07:00
Paul Gauthier
82a4c68e60
Added deepseek completion test
2024-05-07 11:58:05 -07:00
Krrish Dholakia
724660606a
fix(slack_alerting.py): fix storing + reading datetime object from cache
...
this converts the dt object to isoformat before storing, and loads it back to dt when comparing
2024-05-07 11:44:55 -07:00
Sara Ghaemi
86e0dd68c3
updated tests
2024-05-07 13:28:57 -04:00
phact
1b811cd152
unit test and list fix
2024-05-07 13:24:28 -04:00
Sara Ghaemi
7017899d37
updated tests to also check for audience if found
2024-05-07 12:10:47 -04:00
nkvch
389530efb4
* chore(.gitignore): add 'venv' to the list of ignored files/directories
...
* fix(test_completion.py): fix import order and remove unused imports
* feat(test_completion.py): add test for empty assistant message in completion_claude_3_empty_message()
2024-05-07 12:51:30 +02:00
Krish Dholakia
30003afbf8
Merge pull request #3459 from alexanderepstein/langfuse_improvements
...
Update support for langfuse metadata
2024-05-06 21:56:29 -07:00
Mehmet Bektas
8e9a4fa9eb
comment out test method calls, following the pattern
2024-05-06 20:13:11 -07:00
Mehmet Bektas
157d7a7c28
add ollama embeddings unit tests
2024-05-06 20:11:45 -07:00
Krish Dholakia
aa62d891a0
Merge branch 'main' into litellm_slack_daily_reports
2024-05-06 19:31:20 -07:00
Krrish Dholakia
69bcde6f6b
test(test_router_fallbacks.py): fix test - making it easier to debug
2024-05-06 18:49:36 -07:00
Krrish Dholakia
72299a6894
fix(slack_alerting.py): allow internal cache to be an optional param
2024-05-06 18:34:09 -07:00
Ishaan Jaff
a382517992
fix - test alerting
2024-05-06 18:07:58 -07:00
Krrish Dholakia
718f423d7d
feat(slack_alerting.py): support sending daily reports on deployments
...
allow admin to easily know slow + failing deployments
Closes https://github.com/BerriAI/litellm/issues/3483
2024-05-06 17:18:42 -07:00
Krrish Dholakia
863f9c60a2
refactor: trigger new build
2024-05-06 11:46:30 -07:00
Krrish Dholakia
b014a72f7a
test(test_openai_endpoints.py): change key
2024-05-06 11:19:47 -07:00
Ishaan Jaff
44c1dedf64
test fix - test_async_chat_openai_stream
2024-05-06 11:13:07 -07:00
Ishaan Jaff
4bd3967a1a
(ci/cd) run again
2024-05-06 11:04:43 -07:00
Krrish Dholakia
4b5cf26c1b
fix(utils.py): handle gemini chunk no parts error
...
Fixes https://github.com/BerriAI/litellm/issues/3468
2024-05-06 10:59:53 -07:00
Krish Dholakia
9f58583888
Merge pull request #3299 from themrzmaster/main
...
Allowing extra headers for bedrock
2024-05-06 07:45:53 -07:00
Krrish Dholakia
b5f3f198f2
fix(utils.py): anthropic error handling
2024-05-06 07:25:12 -07:00
Krrish Dholakia
d83f0b02da
test: fix local tests
2024-05-06 07:14:33 -07:00
Lucca Zenóbio
b22517845e
Merge branch 'main' into main
2024-05-06 09:40:23 -03:00
Jack Collins
07b13ff7c5
Remove unused ModelResponse import
2024-05-06 00:16:58 -07:00
Jack Collins
51c02fdadf
Add tests for ollama + ollama chat tool calls +/- stream
2024-05-06 00:13:42 -07:00