fix: ensure room_id scope

This commit is contained in:
mosh
2025-01-10 22:25:40 +08:00
committed by acgnhiki
parent 975fa2794a
commit f75d91e7f5

View File

@@ -315,7 +315,7 @@ class TaskOptions(BaseModel):
class TaskSettings(TaskOptions):
# must use the real room id rather than the short room id!
room_id: Annotated[int, Field(ge=1, lt=2**32)]
room_id: Annotated[int, Field(ge=1, lt=2**100)]
enable_monitor: bool = True
enable_recorder: bool = True