Update multi_agent.py
Browse files58 unmodified lines596061626364656667684 unmodified lines7374757677787958 unmodified linesfor file in os.listdir("coding"):if file:_, file_extension = os.path.splitext(file)if file_extension == ".sh":file_name_sh = filetry:file_path_sh = "coding/" + file_name_shcode_sh = read_file(file_path_sh)markdown_code_sh = format_as_markdown(code_sh)4 unmodified linesexcept Exception as e:print(f"An unexpected error occurred: {e}")result = markdown_code_png + "\n" + markdown_code_shprint("===")print(result)58 unmodified lines596061626364656667686970717273744 unmodified lines7980818283848558 unmodified linesfor file in os.listdir("coding"):if file:_, file_extension = os.path.splitext(file)if file_extension == ".py":file_name_py = fileif file_extension == ".sh":file_name_sh = filetry:file_path_py = "coding/" + file_name_pycode_py = read_file(file_path_py)markdown_code_py = format_as_markdown(code_py)file_path_sh = "coding/" + file_name_shcode_sh = read_file(file_path_sh)markdown_code_sh = format_as_markdown(code_sh)4 unmodified linesexcept Exception as e:print(f"An unexpected error occurred: {e}")result = markdown_code_png + "\n" + markdown_code_py + "\n" + markdown_code_shprint("===")print(result)
multi_agent.py+7-1