Commit graph

824 commits

Author SHA1 Message Date
nkvch
087480d9ac * 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
Krrish Dholakia
6c03c5f201 refactor: trigger new build 2024-05-06 11:46:30 -07:00
Krrish Dholakia
fba36714af test(test_openai_endpoints.py): change key 2024-05-06 11:19:47 -07:00
Ishaan Jaff
0ac47c5d83 (ci/cd) run again 2024-05-06 11:04:43 -07:00
Krrish Dholakia
f1c2423ca4 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
Krrish Dholakia
80a1344c55 fix(utils.py): anthropic error handling 2024-05-06 07:25:12 -07:00
Krrish Dholakia
23f25b6e35 test: fix local tests 2024-05-06 07:14:33 -07:00
Jack Collins
0d5ade540f Remove unused ModelResponse import 2024-05-06 00:16:58 -07:00
Jack Collins
3ea6288907 Add tests for ollama + ollama chat tool calls +/- stream 2024-05-06 00:13:42 -07:00
Krrish Dholakia
e8317d7344 fix(factory.py): support openai 'functions' messages 2024-05-04 12:33:39 -07:00
Krrish Dholakia
748c4e022b fix(factory.py): support mapping openai 'tool' message to anthropic format 2024-05-04 10:14:52 -07:00
Krrish Dholakia
d222dd8f82 fix(factory.py): support 'function' openai message role for anthropic
Fixes https://github.com/BerriAI/litellm/issues/3446
2024-05-04 10:03:30 -07:00
Ishaan Jaff
7e98443eb5 ci/cd run again 2024-05-01 21:13:14 -07:00
alisalim17
4f6aa4d977 test: completion with Cohere command-r-plus model 2024-04-29 18:38:12 +04:00
Krrish Dholakia
cffed6f3b8 test: fix test 2024-04-28 09:45:01 -07:00
Krish Dholakia
7ed64709aa Merge branch 'main' into litellm_common_auth_params 2024-04-28 08:38:06 -07:00
Krrish Dholakia
37b2393123 test(test_completion.py): modify acompletion test to call pre-deployed watsonx endpoint 2024-04-27 11:19:00 -07:00
Krrish Dholakia
ee68c0aaaa feat(utils.py): unify common auth params across azure/vertex_ai/bedrock/watsonx 2024-04-27 11:06:18 -07:00
Krish Dholakia
8e720ec846 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
b7beab2e39 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
Emir Ayar
bad64536c6 Add test for completion with text content dictionaries 2024-04-27 12:27:12 +02:00
Krish Dholakia
33393f0029 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
fc75fe2d05 fix(utils.py): return logprobs as an object not dict 2024-04-25 17:55:18 -07:00
Krrish Dholakia
a26a4a72de test(test_completion.py): fix test 2024-04-25 14:07:07 -07:00
Krrish Dholakia
cf24e3eb02 fix(factory.py): add replicate meta llama prompt templating support 2024-04-25 08:25:00 -07:00
Ishaan Jaff
a86de641a5 (ci/cd) run again 2024-04-24 23:23:14 -07:00
Ishaan Jaff
331931eef5 (fix) updating router settings 2024-04-24 23:09:25 -07:00
Ishaan Jaff
e7c0949654 (ci/cd) run again 2024-04-24 21:09:49 -07:00
Simon Sanchez Viloria
2dd79eb30e (test) Added completion and embedding tests for watsonx provider 2024-04-24 12:52:29 +02:00
Krish Dholakia
ef471480b2 Merge pull request #3124 from elisalimli/bugfix/add-missing-tool-calls-mistral-messages
Add missing tool_calls and name to messages
2024-04-23 17:25:12 -07:00
alisalim17
044df4abba test: add test for function calling with mistral large latest to test_completion.py 2024-04-21 11:27:21 +04:00
Ishaan Jaff
7b4eb80189 test - gemini-1.5-pro-latest 2024-04-19 21:22:19 -07:00
Ishaan Jaff
1a780b8bc0 (ci/cd) run again 2024-04-18 21:04:07 -07:00
Ishaan Jaff
29b1745a43 (ci/cd) run again 2024-04-18 20:35:21 -07:00
Krrish Dholakia
a21630dac7 test(test_completion.py): skip local test 2024-04-17 19:14:41 -07:00
Krrish Dholakia
fdd73a4e26 fix(utils.py): support azure mistral function calling 2024-04-17 19:10:26 -07:00
Ishaan Jaff
72e7571e51 ci/cd run again 2024-04-17 08:01:39 -07:00
Ishaan Jaff
9d601d2549 (ci/cd) run again 2024-04-16 21:44:11 -07:00
Ishaan Jaff
b00ad976af fix function calling prompt - ask llm to respond in fahrenheit 2024-04-16 21:09:53 -07:00
Krrish Dholakia
1cd0551a1e fix(anthropic_text.py): add support for async text completion calls 2024-04-15 08:15:00 -07:00
Ishaan Jaff
abac496706 (ci/cd) run again 2024-04-12 20:48:26 -07:00
Krrish Dholakia
67b3a05e1a test(test_completion.py): handle api instability 2024-04-09 21:58:48 -07:00
Krrish Dholakia
f0d61fd6dd test(test_completion.py): change model 2024-04-09 21:38:17 -07:00
Krrish Dholakia
70fd803a6e fix(main.py): handle translating text completion openai to chat completion for async requests
also adds testing for this, to prevent future regressions
2024-04-09 16:47:49 -07:00
Ishaan Jaff
6757b42ce9 (test) completion 2024-04-05 21:03:04 -07:00
Ishaan Jaff
a27e488248 (ci/cd) run again 2024-04-05 17:26:02 -07:00
Ishaan Jaff
d4ca3f38c7 fix testing yaml 2024-04-05 16:17:53 -07:00
Ishaan Jaff
ea3491a765 simplify calling azure/commmand-r-plus 2024-04-05 09:18:11 -07:00
Ishaan Jaff
12c5c96012 test - azure/command-r-plus 2024-04-05 08:56:05 -07:00
Krrish Dholakia
c90da63650 test(test_completion.py): skip sagemaker test - aws account suspended 2024-04-04 09:52:24 -07:00