Changes in schemas.py

Might have fixed symbol issue
This commit is contained in:
Christoph Eder committed 2025-12-13 11:56:40 +01:00
1 parent e2d689a84c
commit c1dcf4b055
1 file changed
+1 -1
+1 -1
View File
@@ -25,7 +25,7 @@ class ModifiedBaseModel(PydanticBaseModel):
return {
'id': v.id,
'label': v.label,
'image': v.image.tolist()
'image': v.image.tolist() if hasattr(v.image, 'tolist') else v.image
}
if isinstance(v, Embedding):
return {'data': v.data.tolist()}