Spaces:
Sleeping
Sleeping
Update multi_agent.py
Browse files- multi_agent.py +4 -5
multi_agent.py
CHANGED
@@ -16,11 +16,10 @@ def read_file(file_path: str) -> str:
|
|
16 |
return file.read()
|
17 |
|
18 |
def format_as_markdown(code: str) -> str:
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
return code
|
24 |
|
25 |
def run_multi_agent(llm, message):
|
26 |
llm_config = {"model": llm}
|
|
|
16 |
return file.read()
|
17 |
|
18 |
def format_as_markdown(code: str) -> str:
|
19 |
+
markdown_code = '```\n'
|
20 |
+
markdown_code += code
|
21 |
+
markdown_code += '\n```'
|
22 |
+
return markdown_code
|
|
|
23 |
|
24 |
def run_multi_agent(llm, message):
|
25 |
llm_config = {"model": llm}
|