Update multi_agent.py
Browse files- multi_agent.py +7 -7
multi_agent.py
CHANGED
@@ -79,15 +79,15 @@ def run_multi_agent(llm, message):
|
|
79 |
|
80 |
file_path_py = "coding/" + file_name_py
|
81 |
print("##" + file_path_py)
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
|
86 |
file_path_sh = "coding/" + file_name_sh
|
87 |
print("##" + file_path_sh)
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
|
92 |
#print("### markdown_code = " + markdown_code)
|
93 |
|
@@ -95,4 +95,4 @@ def run_multi_agent(llm, message):
|
|
95 |
#print(chat_result)
|
96 |
#print("###")
|
97 |
|
98 |
-
return markdown_code
|
|
|
79 |
|
80 |
file_path_py = "coding/" + file_name_py
|
81 |
print("##" + file_path_py)
|
82 |
+
code_py = read_file(file_path_py)
|
83 |
+
markdown_code_py = format_as_markdown(code_py)
|
84 |
+
print("### " + markdown_code_py)
|
85 |
|
86 |
file_path_sh = "coding/" + file_name_sh
|
87 |
print("##" + file_path_sh)
|
88 |
+
code_sh = read_file(file_path_sh)
|
89 |
+
markdown_code_sh = format_as_markdown(code_sh)
|
90 |
+
print("### " + markdown_code_sh)
|
91 |
|
92 |
#print("### markdown_code = " + markdown_code)
|
93 |
|
|
|
95 |
#print(chat_result)
|
96 |
#print("###")
|
97 |
|
98 |
+
return markdown_code + "<br />" + markdown_code_sh + "<br />" + markdown_code_py
|