更新
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user