diff --git a/utilities/execution_engines/graphviz_execution_engine.py b/utilities/execution_engines/graphviz_execution_engine.py index bf0ed3c6..6d460970 100644 --- a/utilities/execution_engines/graphviz_execution_engine.py +++ b/utilities/execution_engines/graphviz_execution_engine.py @@ -117,6 +117,7 @@ def execute_graphviz(code, client:Client, message_id, build_file=False): with open(tmp_file,"w",encoding="utf8") as f: f.write(build_graphviz_output(code)["output"]) link = f"{host}:{lollmsElfServer.config.port}/{discussion_path_2_url(tmp_file)}" + execution_time = time.time() - start_time output_json = {"output": f'Page built successfully
Press here to view the page', "execution_time": execution_time} return output_json else: