fix: llm tests failing

This commit is contained in:
Siddhant Rai
2025-03-19 10:25:46 +05:30
parent ab95d90284
commit f00802dd6b
2 changed files with 10 additions and 16 deletions

View File

@@ -5,7 +5,7 @@ from application.usage import gen_token_usage, stream_token_usage
class BaseLLM(ABC):
def __init__(self, decoded_token):
def __init__(self, decoded_token=None):
self.decoded_token = decoded_token
self.token_usage = {"prompt_tokens": 0, "generated_tokens": 0}