Skip to content

Commit 1960e8a

Browse files
committed
add universal part id to current part
1 parent 94a3c66 commit 1960e8a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/agents/utils/parse_json_to_prompt.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,17 @@ def __init__(
107107

108108
# questionAccessInformation type
109109
class CurrentPart:
110-
def __init__(self, id: str = None, position: int = None, timeTakenPart: Optional[str] = None, markedDonePart: Optional[str] = None):
110+
def __init__(
111+
self,
112+
id: str = None,
113+
position: int = None,
114+
universalPartId: Optional[str] = None,
115+
timeTakenPart: Optional[str] = None,
116+
markedDonePart: Optional[str] = None
117+
):
111118
self.id = id
112119
self.position = position
120+
self.universalPartId = universalPartId
113121
self.timeTakenPart = timeTakenPart
114122
self.markedDonePart = markedDonePart
115123

0 commit comments

Comments
 (0)