You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add progress notifications to ChatAgent tool execution and cleanup
- Add emitter parameter to ChatAgent._build_workflow() to enable progress notifications
- Emit tool_call updates in ChatAgent.tool_node() before executing tools
- Remove duplicate imports in docket_tasks.py (process_chat_turn, process_knowledge_query)
- Remove unused API_BASE_URL and os import from mcp_server/server.py
- Fix ASGI app initialization in mcp_server/server.py for uvicorn
- Remove unused ThreadManager import from progress.py
- Fix import ordering and remove unused imports across test files
- Apply ruff format to all modified files
error_response=f"I encountered an error while processing your knowledge query: {str(e)}. Please try asking a more specific question about SRE practices, troubleshooting methodologies, or system reliability concepts."
512
512
513
-
awaitemitter.emit(
514
-
f"Knowledge agent encountered an error: {str(e)}", "agent_error"
515
-
)
513
+
awaitemitter.emit(f"Knowledge agent encountered an error: {str(e)}", "agent_error")
0 commit comments