This commit is contained in:
2025-04-10 09:22:45 +08:00
parent d967f4fa58
commit c252fe5ef7
4 changed files with 15 additions and 13 deletions
+2 -1
View File
@@ -7,7 +7,7 @@ load_dotenv()
import threading
import nest_asyncio
from agentic_rag import get_agentic_rag_agent, get_workflow
from agentic_rag import get_agentic_rag_agent, get_workflow, get_sofeware_work_context
from agno.utils.log import logger
from ui import (
initialize_ui,
@@ -106,6 +106,7 @@ def main():
# Chat input
if prompt := st.sidebar.chat_input("👋 问我任何问题!"):
agentic_rag_agent.context = get_sofeware_work_context()
add_message("user", prompt)
# Display UI