Timothy J. Baek 6 tháng trước cách đây
mục cha
commit
affb0e5c37
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      backend/open_webui/apps/webui/models/feedbacks.py

+ 1 - 1
backend/open_webui/apps/webui/models/feedbacks.py

@@ -68,7 +68,7 @@ class RatingData(BaseModel):
     sibling_model_ids: Optional[list[str]] = None
     reason: Optional[str] = None
     comment: Optional[str] = None
-    model_config = ConfigDict(extra="allow")
+    model_config = ConfigDict(extra="allow", protected_namespaces=())
 
 
 class MetaData(BaseModel):