Although the terminal has the correct output, the web always says "Please start the backend first."
Go to playback and click "play" and the result is that nothing has changed
ps:In addition, one of the logs was having trouble writing, so I chose to comment it out. TAT
# self.__cost_logger = OpenAICostLogger(
# experiment_name=experiment_name,
# cost_upperbound=cost_upperbound,
# log_folder=log_folder
# )
and
# with self.lock:
# self.__cost_logger.update_cost(
# response=response,
# input_cost=input_cost,
# output_cost=output_cost
# )
Although the terminal has the correct output, the web always says "Please start the backend first."
Go to playback and click "play" and the result is that nothing has changed
ps:In addition, one of the logs was having trouble writing, so I chose to comment it out. TAT
# self.__cost_logger = OpenAICostLogger(
# experiment_name=experiment_name,
# cost_upperbound=cost_upperbound,
# log_folder=log_folder
# )
and
# with self.lock:
# self.__cost_logger.update_cost(
# response=response,
# input_cost=input_cost,
# output_cost=output_cost
# )