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
Mehmet Bektas
64a64c68c5
update ollama test file
2024-05-05 20:25:43 -07:00
Alex Epstein
b82162832a
Update support for langfuse metadata
...
- Added ability to set trace release, version, metadata
- Added ability to update fields during a trace continuation
- Added ability to update input and output during a trace continuation
- Wrote new test for verifying metadata is set correctly
- Small improvement to setting secret boolean, prevent unnecessary literal_eval
- Small improvements to langfuse tests
2024-05-05 14:56:36 -04:00
Krrish Dholakia
e95be13f10
fix(router.py): fix router retry policy logic
2024-05-04 23:02:50 -07:00
Krish Dholakia
6be20f5fc6
Merge pull request #3455 from BerriAI/litellm_assistants_support
...
feat(openai.py): add support for openai assistants
2024-05-04 22:21:44 -07:00
Ishaan Jaff
d4c2eb1797
fix post call rule test
2024-05-04 22:04:53 -07:00
Ishaan Jaff
4d1806bc95
fix - vertex ai exceptions
2024-05-04 21:32:10 -07:00
Krrish Dholakia
5406205e4b
test(test_assistants.py): cleanup tests
2024-05-04 21:31:07 -07:00
Krrish Dholakia
8fe6c9b401
feat(assistants/main.py): support litellm.get_assistants()
and litellm.get_messages()
2024-05-04 21:30:28 -07:00
Krrish Dholakia
cad01fb586
feat(assistants/main.py): support 'litellm.get_threads'
2024-05-04 21:14:03 -07:00
Ishaan Jaff
713e04848d
Merge pull request #3460 from BerriAI/litellm_use_retry_policy_per_mg
...
[Feat] Set a Retry Policy per model group
2024-05-04 20:42:40 -07:00
Ishaan Jaff
f09da3f14c
test - test setting retry policies per model groups
2024-05-04 20:40:56 -07:00
Ishaan Jaff
95864a1d37
fix router debug logs
2024-05-04 20:24:15 -07:00
Krrish Dholakia
b7796c7487
feat(assistants/main.py): add 'add_message' endpoint
2024-05-04 19:56:11 -07:00
Krrish Dholakia
681a95e37b
fix(assistants/main.py): support litellm.create_thread()
call
2024-05-04 19:35:37 -07:00
Ishaan Jaff
87e165e413
Merge pull request #3456 from BerriAI/litellm_router_set_retry_policy_errors
...
[FEAT] router set custom num retries for ContentPolicyViolationErrorRetries, RateLimitErrorRetries, BadRequestErrorRetries etc
2024-05-04 18:26:03 -07:00
Ishaan Jaff
495d3a9646
router set dynamic retry policies
2024-05-04 18:13:43 -07:00
Ishaan Jaff
8d128a4b91
test - router retry policy
2024-05-04 17:30:30 -07:00
Krrish Dholakia
84c31a5528
feat(openai.py): add support for openai assistants
...
v0 commit. Closes https://github.com/BerriAI/litellm/issues/2842
2024-05-04 17:27:48 -07:00
Ishaan Jaff
b83901a861
Merge pull request #3451 from BerriAI/litellm_return_model_api_base
...
[Feat] Return model, api_base and first 100 chars of messages in Azure Exceptions
2024-05-04 17:07:09 -07:00
Ishaan Jaff
9e4e467039
test router - retry policy
2024-05-04 17:06:34 -07:00
Krish Dholakia
601e8a1172
Merge pull request #3448 from BerriAI/litellm_anthropic_fix
...
fix(factory.py): support 'function' openai message role for anthropic
2024-05-04 16:36:05 -07:00
Ishaan Jaff
85b2137f9c
fix - test exceptions vertex ai
2024-05-04 16:09:20 -07:00
Ishaan Jaff
7150df653f
test azure exceptions are more decriptive
2024-05-04 13:02:29 -07:00