Update multi_agent.py
Browse files- multi_agent.py +7 -3
multi_agent.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
from autogen import ConversableAgent, AssistantAgent
|
| 2 |
from autogen.coding import LocalCommandLineCodeExecutor
|
| 3 |
|
| 4 |
-
import os
|
| 5 |
#from IPython.display import Image
|
| 6 |
|
| 7 |
def run_multi_agent(llm, message):
|
|
@@ -63,5 +63,9 @@ def run_multi_agent(llm, message):
|
|
| 63 |
|
| 64 |
image_path = os.path.join('coding', 'ytd_stock_gains.png')
|
| 65 |
image_markdown = f""
|
| 66 |
-
|
| 67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
from autogen import ConversableAgent, AssistantAgent
|
| 2 |
from autogen.coding import LocalCommandLineCodeExecutor
|
| 3 |
|
| 4 |
+
import markdown, os
|
| 5 |
#from IPython.display import Image
|
| 6 |
|
| 7 |
def run_multi_agent(llm, message):
|
|
|
|
| 63 |
|
| 64 |
image_path = os.path.join('coding', 'ytd_stock_gains.png')
|
| 65 |
image_markdown = f""
|
| 66 |
+
|
| 67 |
+
markdown_text = ""
|
| 68 |
+
html = markdown.markdown(markdown_text)
|
| 69 |
+
print(html)
|
| 70 |
+
|
| 71 |
+
return html #f"<br /><br /><br /><br /><br />"
|