Update multi_agent.py
Browse files- multi_agent.py +11 -4
multi_agent.py
CHANGED
@@ -77,11 +77,18 @@ def run_multi_agent(llm, message):
|
|
77 |
|
78 |
print("### markdown_code = " + markdown_code)
|
79 |
|
80 |
-
file_path = "/home/user/app/coding/ytd_stock_gains.py"
|
81 |
-
code = read_python_file(file_path)
|
82 |
-
markdown_code += format_as_markdown(code)
|
83 |
|
84 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
|
86 |
print("###")
|
87 |
print(chat_result)
|
|
|
77 |
|
78 |
print("### markdown_code = " + markdown_code)
|
79 |
|
80 |
+
#file_path = "/home/user/app/coding/ytd_stock_gains.py"
|
81 |
+
#code = read_python_file(file_path)
|
82 |
+
#markdown_code += format_as_markdown(code)
|
83 |
|
84 |
+
current_folder = os.getcwd()
|
85 |
+
files_in_folder = os.listdir(current_folder)
|
86 |
+
|
87 |
+
print(f"Files in {current_folder}:")
|
88 |
+
for file in files_in_folder:
|
89 |
+
print(file)
|
90 |
+
|
91 |
+
#print("### markdown_code = " + markdown_code)
|
92 |
|
93 |
print("###")
|
94 |
print(chat_result)
|