Skip to content

Commit 0ea9e0d

Browse files
niklubnik
andauthored
fix: BROS-494: Fix <Chat> predictions validation logic (#646)
Co-authored-by: nik <nik@heartex.net>
1 parent c9c122f commit 0ea9e0d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/label_studio_sdk/label_interface/control_tags.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,8 @@ def to_json_schema(self):
986986
"role": {"type": "string"},
987987
"content": {"type": "string"},
988988
"createdAt": {"type": "number"}
989-
}
989+
},
990+
"additionalProperties": True
990991
}
991992
},
992993
"description": f"Chat message for {self.to_name[0]}"

0 commit comments

Comments
 (0)