fix(main.py): keep client consistent across calls + exponential backoff retry on ratelimit errors

This commit is contained in:
Krrish Dholakia 2023-11-14 16:25:36 -08:00
parent 5963d9d283
commit a7222f257c
9 changed files with 239 additions and 131 deletions

View file

@ -317,7 +317,7 @@ def test_function_calling_on_router():
except Exception as e:
print(f"An exception occurred: {e}")
test_function_calling_on_router()
# test_function_calling_on_router()
def test_aembedding_on_router():
try: