Commit graph

39 commits

Author SHA1 Message Date
Krrish Dholakia
e495a8a9c2 fix(main.py): fix acompletion for anyscale, openrouter, deepinfra, perplexity endpoints 2023-11-22 13:22:58 -08:00
Krrish Dholakia
efc2bfe295 fix(utils.py): add response ms for async calls 2023-11-21 19:59:00 -08:00
ishaan-jaff
2f0304f100 (test) async for chunk 2023-11-18 17:17:39 -08:00
ishaan-jaff
30fcc1f9a0 (test) do nothing if token==None in stream chunk 2023-11-18 17:13:16 -08:00
Krrish Dholakia
7ea80de2f1 test(test_async_fn.py): catch timeouts 2023-11-17 18:01:52 -08:00
Krrish Dholakia
7d70bf84a7 test(test_langfuse.py): handle timeouts 2023-11-17 17:05:46 -08:00
Krrish Dholakia
02ed97d0b2 fix(acompletion): support client side timeouts + raise exceptions correctly for async calls 2023-11-17 15:39:47 -08:00
Krrish Dholakia
48a508bab6 feat: global client for sync + async calls (openai + Azure only) 2023-11-16 14:44:13 -08:00
Krrish Dholakia
a6e9f147d3 fix(openai.py): handling extra headers 2023-11-16 12:48:21 -08:00
Krrish Dholakia
e54056f0ed fix(azure.py): use openai client sdk for handling sync+async calling 2023-11-16 12:08:12 -08:00
Krrish Dholakia
f14bd24b46 fix(openai.py): fix linting issues 2023-11-16 11:01:28 -08:00
Krrish Dholakia
9c7cc84eb0 fix(openai.py): supporting openai client sdk for handling sync + async calls (incl. for openai-compatible apis) 2023-11-16 10:35:03 -08:00
Krrish Dholakia
e28b9534e4 fix(huggingface_restapi.py): async implementation 2023-11-15 16:54:15 -08:00
Krrish Dholakia
e35ce15a89 refactor(huggingface_restapi.py): moving async completion + streaming to real async calls 2023-11-15 15:14:21 -08:00
Krrish Dholakia
04ce14e404 fix(utils.py): fix langfuse integration 2023-11-15 14:05:40 -08:00
Krrish Dholakia
29a0c29eb3 fix(utils.py): await async function in client wrapper 2023-11-14 22:07: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
Krrish Dholakia
c0a757a25f refactor(azure.py): working azure completion calls with openai v1 sdk 2023-11-11 16:44:39 -08:00
Krrish Dholakia
1ec07c0aba refactor(openai.py): working openai chat + text completion for openai v1 sdk 2023-11-11 16:25:10 -08:00
Krrish Dholakia
a5ec85b1f2 refactor(openai.py): making it compatible for openai v1
BREAKING CHANGE:
2023-11-11 15:33:02 -08:00
ishaan-jaff
4319aa415a (test) async_fn with stream 2023-11-10 17:47:15 -08:00
Krrish Dholakia
272a6dc9b0 refactor(azure.py): enabling async streaming with aiohttp 2023-11-09 16:41:06 -08:00
Krrish Dholakia
9b278f567b refactor(openai.py): support aiohttp streaming 2023-11-09 16:15:30 -08:00
Krrish Dholakia
1d46891ceb fix(azure.py): adding support for aiohttp calls on azure + openai 2023-11-09 10:40:33 -08:00
Krrish Dholakia
53b5409fac test(test_async_fn.py): fix import issues 2023-10-30 20:57:24 -07:00
Krrish Dholakia
93b1cd7ab2 test(test_async_fn.py): test logging 2023-10-30 19:59:36 -07:00
Krrish Dholakia
2c274c5ad6 test(test_async_fn.py): addding sync test 2023-10-30 19:38:31 -07:00
Krrish Dholakia
9c9b205a7b test(test_async_fn.py): more logging 2023-10-30 18:39:10 -07:00
Krrish Dholakia
6eb7205aba test(test_async_fn.py): add better error logging 2023-10-30 18:18:11 -07:00
Krrish Dholakia
e55b20b1e4 test(test_async_fn.py): adding additional logging for tests 2023-10-24 12:54:18 -07:00
Krrish Dholakia
9e0897bc26 refactor(test_async_fn.py): refactor for testing 2023-10-24 12:46:30 -07:00
Krrish Dholakia
0ae93d1112 fixing optional param mapping 2023-10-02 14:14:30 -07:00
Krrish Dholakia
a6e77b7cf3 bump version 2023-09-17 08:07:19 -07:00
ishaan-jaff
62cbe862c8 bump version litellm 2023-09-07 14:03:37 -07:00
ishaan-jaff
b39c5c5df9 cleanup async func test 2023-09-07 13:56:46 -07:00
ishaan-jaff
27b8145c56 async streaming generator 2023-09-07 13:53:40 -07:00
Krrish Dholakia
1bbec66b57 acreate thin-client 2023-08-21 16:04:15 -07:00
ishaan-jaff
2c7ffb7c75 add linting 2023-08-18 11:05:05 -07:00
Krrish Dholakia
66a33efd69 fixing acompletion 2023-08-03 13:53:38 -07:00