Commit graph

27 commits

Author SHA1 Message Date
Krrish Dholakia
8f306f8e41 fix(cohere_chat.py): support passing 'extra_headers'
Fixes https://github.com/BerriAI/litellm/issues/4709
2024-08-22 10:17:36 -07:00
Krish Dholakia
ee375edcbf Merge branch 'main' into litellm_async_cohere_calls 2024-07-30 15:35:20 -07:00
Krrish Dholakia
3a92468765 fix(cohere.py): support async cohere embedding calls 2024-07-30 14:49:07 -07:00
Krrish Dholakia
7b7e4764d5 style(cohere.py): point to cohere_chat docs for updated doc info 2024-07-30 13:47:15 -07:00
Krrish Dholakia
c69193c321 fix: move to using pydantic obj for setting values 2024-07-11 13:18:36 -07:00
BeatrixCohere
b8a6725b64 Add request source 2024-05-21 10:12:57 +01:00
Krrish Dholakia
5f93cae3ff feat(proxy_server.py): return litellm version in response headers 2024-05-08 16:00:08 -07:00
Krrish Dholakia
b10f03706d fix(utils.py): fix streaming to not return usage dict
Fixes https://github.com/BerriAI/litellm/issues/3237
2024-04-24 08:06:07 -07:00
Krrish Dholakia
235787ff67 fix(cohere.py): return usage as a pydantic object not dict 2024-03-15 10:00:22 -07:00
ishaan-jaff
9b72825e3b (v0) tool calling 2024-03-12 12:35:52 -07:00
Krrish Dholakia
79978c44ba refactor: add black formatting 2023-12-25 14:11:20 +05:30
ishaan-jaff
7bc28f3b1c (fix) pydantic errors with response.time 2023-11-20 18:28:19 -08:00
ishaan-jaff
c7fbbe8764 (feat) add ability to view POST requests from litellm.completion() 2023-11-14 17:27:20 -08:00
Krrish Dholakia
4b74ddcb17 refactor: fixing linting issues 2023-11-11 18:52:28 -08:00
Krrish Dholakia
7b4e21e574 refactor(bedrock.py-+-cohere.py): making bedrock and cohere compatible with openai v1 sdk 2023-11-11 17:33:19 -08:00
ishaan-jaff
ee60c04251 (fix) remove errant print statements 2023-11-03 13:02:52 -07:00
ishaan-jaff
36a2266382 (feat) add setting input_type for cohere 2023-11-02 10:16:35 -07:00
ishaan-jaff
d100bfdc2e (fix) improve cohere error handling 2023-11-02 10:07:11 -07:00
ishaan-jaff
485a7ff136 (feat) use usage class for model responses for cohere, hf, tg ai, cohere 2023-10-27 09:58:47 -07:00
Krrish Dholakia
18a6facdb3 fix: allow api base to be set for all providers
enables proxy use cases
2023-10-19 19:07:42 -07:00
ishaan-jaff
3fe21a7cf3 (fix) fix linting errors 2023-10-13 21:23:00 -07:00
Krrish Dholakia
cc0e4f4f9f fix: fix value error if model returns empty completion 2023-10-10 10:11:40 -07:00
Krrish Dholakia
1c9f87751d fix(test-fixes): test fixes 2023-10-10 08:09:42 -07:00
Krrish Dholakia
4a1bd8267f fix: bug fix when n>1 passed in 2023-10-09 16:46:33 -07:00
Krrish Dholakia
69cdf5347a style(test_completion.py): fix merge conflict 2023-10-05 22:09:38 -07:00
ishaan-jaff
17c2863f02 add cohere embedding models 2023-09-29 09:59:31 -07:00
Krrish Dholakia
22fb574009 move cohere to http endpoint 2023-09-14 11:17:38 -07:00