Upload app.py
Browse files
app.py
CHANGED
|
@@ -1954,10 +1954,10 @@ def main():
|
|
| 1954 |
# create_tab_content("comparison")
|
| 1955 |
with gr.Column(scale=2, min_width=400):
|
| 1956 |
# 聊天面板
|
| 1957 |
-
# ✅ 使用
|
| 1958 |
-
#
|
| 1959 |
gr.ChatInterface(
|
| 1960 |
-
|
| 1961 |
type="messages", # ✅ 使用messages格式
|
| 1962 |
title="Easy Financial AI Assistant", # ✅ 保留标题
|
| 1963 |
chatbot=gr.Chatbot(height=550), # ✅ 增加聊天框高度
|
|
|
|
| 1954 |
# create_tab_content("comparison")
|
| 1955 |
with gr.Column(scale=2, min_width=400):
|
| 1956 |
# 聊天面板
|
| 1957 |
+
# ✅ 使用 chatbot.chat_main.respond (MCP_Financial_Report智能体)
|
| 1958 |
+
# Investment Suggestion和Analysis Report继续使用EasyFinancialAgent
|
| 1959 |
gr.ChatInterface(
|
| 1960 |
+
respond,
|
| 1961 |
type="messages", # ✅ 使用messages格式
|
| 1962 |
title="Easy Financial AI Assistant", # ✅ 保留标题
|
| 1963 |
chatbot=gr.Chatbot(height=550), # ✅ 增加聊天框高度
|