Skip to content

Commit

Permalink
codacy fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sfahad1414 committed Nov 7, 2024
1 parent 483fd92 commit 85ec70e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kairon/shared/llm/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ async def __get_completion(self, messages, hyperparameters, user, **kwargs):
request_method="POST",
request_body=body)

logging.info(f"elapsed time: {elapsed_time}")
logging.info(f"LLM request completed in {elapsed_time:.2f}s for bot: {self.bot}")
if status_code not in [200, 201, 202, 203, 204]:
raise Exception(HTTPStatus(status_code).phrase)

Expand Down

0 comments on commit 85ec70e

Please sign in to comment.