File tree Expand file tree Collapse file tree 4 files changed +269
-194
lines changed
idp_common/agents/error_analyzer
tests/unit/agents/error_analyzer Expand file tree Collapse file tree 4 files changed +269
-194
lines changed Original file line number Diff line number Diff line change 1515
1616from ..common .strands_bedrock_model import create_strands_bedrock_model
1717from .tools import (
18+ analyze_document_trace ,
19+ analyze_system_performance ,
1820 analyze_workflow_execution ,
1921 fetch_document_record ,
2022 fetch_recent_records ,
2123 lambda_lookup ,
2224 search_cloudwatch_logs ,
23- xray_performance_analysis ,
24- xray_trace ,
2525)
2626
2727logger = logging .getLogger (__name__ )
@@ -54,8 +54,8 @@ def create_error_analyzer_agent(
5454 fetch_recent_records ,
5555 lambda_lookup ,
5656 analyze_workflow_execution ,
57- xray_trace ,
58- xray_performance_analysis ,
57+ analyze_document_trace ,
58+ analyze_system_performance ,
5959 ]
6060 bedrock_model = create_strands_bedrock_model (
6161 model_id = config .agents .error_analyzer .model_id , boto_session = session
Original file line number Diff line number Diff line change 2121from .lambda_tool import lambda_lookup
2222from .stepfunction_tool import analyze_workflow_execution
2323from .xray_tool import (
24- xray_performance_analysis ,
25- xray_trace ,
24+ analyze_document_trace ,
25+ analyze_system_performance ,
2626)
2727
2828__all__ = [
3131 "fetch_document_record" ,
3232 "fetch_recent_records" ,
3333 "analyze_workflow_execution" ,
34- "xray_trace " ,
35- "xray_performance_analysis " ,
34+ "analyze_document_trace " ,
35+ "analyze_system_performance " ,
3636]
You can’t perform that action at this time.
0 commit comments