File size: 1,336 Bytes
9b26357
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
��diff --git a/tasks.py b/tasks.py

index ae53a5f..fa710a9 100644

--- a/tasks.py

+++ b/tasks.py

@@ -7,7 +7,7 @@ Contains 3 tasks with increasing difficulty:

   3. HARD   ��� Complex complaint escalation with angry customer

 """

 

-from typing import Any, Dict, List

+from typing import Any, Dict, List, Optional

 

 from models import (

     CustomerMessage,

@@ -66,7 +66,7 @@ def _task(

     max_steps: int,

     expected_keywords: List[str],

     grading_rubric: Dict[str, Any],

-    follow_up_messages: List[str] | None = None,

+    follow_up_messages: Optional[List[str]] = None,

 ) -> Dict[str, Any]:

     return {

         "task_id": task_id,