transports(daily): DailyRoomProperties now allow extra unknown parameters

This commit is contained in:
Aleix Conchillo Flaqué
2024-06-11 18:51:32 -07:00
parent ee880d229f
commit 7390e42f5c
2 changed files with 3 additions and 1 deletions

View File

@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- `daily_rest.DailyRoomProperties` now allows extra unknown parameters.
- Added `DeepgramSTTService`. This service has an ongoing websocket
connection. To handle this, it subclasses `AIService` instead of
`STTService`. The output of this service will be pushed from the same task,

View File

@@ -25,7 +25,7 @@ class DailyRoomSipParams(BaseModel):
num_endpoints: int = 1
class DailyRoomProperties(BaseModel):
class DailyRoomProperties(BaseModel, extra="allow"):
exp: float = time() + 5 * 60
enable_chat: bool = False
enable_emoji_reactions: bool = False