File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed
lib/idp_common_pkg/idp_common/assessment Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ def __init__(
126126
127127 dynamodb : DynamoDBServiceResource = boto3 .resource (
128128 "dynamodb" , region_name = self .region
129- ) # pyright: ignore[reportAssignmentType]modb", region_name=self.region)
129+ ) # pyright: ignore[reportAssignmentType]
130130 self .cache_table = dynamodb .Table (self .cache_table_name )
131131 logger .info (
132132 f"Granular assessment caching enabled using table: { self .cache_table_name } "
Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ async def execute_tasks_async(
3939
4040 Args:
4141 tasks: List of assessment tasks to execute
42- base_content: Base prompt content
4342 extraction_results: Full extraction results
4443 page_images: List of page images (with grid overlay)
4544 sorted_page_ids: List of page IDs
@@ -166,7 +165,6 @@ def execute_assessment_tasks_parallel(
166165
167166 Args:
168167 tasks: List of assessment tasks
169- base_content: Base prompt content
170168 extraction_results: Full extraction results
171169 page_images: List of page images (with grid overlay already applied)
172170 sorted_page_ids: List of page IDs in sorted order
Original file line number Diff line number Diff line change @@ -95,8 +95,7 @@ async def assess_attribute_with_strands(
9595 system_prompt = enhanced_system_prompt ,
9696 state = {
9797 "task" : task .model_dump (),
98- "extraction_results" : extraction_results ,
99- "assessment_output" : None ,
98+ "assessment_output" : None , # Will be populated by submit_assessment tool
10099 },
101100 conversation_manager = SummarizingConversationManager (
102101 summary_ratio = 0.8 , preserve_recent_messages = 1
You can’t perform that action at this time.
0 commit comments