Merge pull request #227 from pipecat-ai/aleix/daily-room-properties-extra

transports(daily): DailyRoomProperties now allow extra unknown parame…
This commit is contained in:
Aleix Conchillo Flaqué
2024-06-13 00:25:07 +08:00
committed by GitHub
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