Merge pull request #1200 from MateoCamara/explicit-args-acomplete

feat: added explicit args to acomplete
This commit is contained in:
Ishaan Jaff 2024-01-11 10:39:05 +05:30 committed by GitHub
commit 2433d6c613
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 92 additions and 8 deletions

View file

@ -14,6 +14,7 @@ import subprocess, os
import litellm, openai
import itertools
import random, uuid, requests
from functools import wraps
import datetime, time
import tiktoken
import uuid
@ -1972,6 +1973,7 @@ def client(original_function):
# [Non-Blocking Error]
pass
@wraps(original_function)
def wrapper(*args, **kwargs):
start_time = datetime.datetime.now()
result = None
@ -2166,6 +2168,7 @@ def client(original_function):
e.message += f"\n Check the log in your dashboard - {liteDebuggerClient.dashboard_url}"
raise e
@wraps(original_function)
async def wrapper_async(*args, **kwargs):
start_time = datetime.datetime.now()
result = None