We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2896a2 commit c672517Copy full SHA for c672517
src/uipath/dev/models/chat.py
@@ -75,6 +75,7 @@ def add(
75
if msg.content_parts is None:
76
msg.content_parts = []
77
else:
78
+ # Sequence is immutable, so re-initialize as a list to append
79
msg.content_parts = list(msg.content_parts)
80
msg.content_parts.append(new_cp)
81
existing = new_cp
0 commit comments