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:
@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
- `daily_rest.DailyRoomProperties` now allows extra unknown parameters.
|
||||||
|
|
||||||
- Added `DeepgramSTTService`. This service has an ongoing websocket
|
- Added `DeepgramSTTService`. This service has an ongoing websocket
|
||||||
connection. To handle this, it subclasses `AIService` instead of
|
connection. To handle this, it subclasses `AIService` instead of
|
||||||
`STTService`. The output of this service will be pushed from the same task,
|
`STTService`. The output of this service will be pushed from the same task,
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ class DailyRoomSipParams(BaseModel):
|
|||||||
num_endpoints: int = 1
|
num_endpoints: int = 1
|
||||||
|
|
||||||
|
|
||||||
class DailyRoomProperties(BaseModel):
|
class DailyRoomProperties(BaseModel, extra="allow"):
|
||||||
exp: float = time() + 5 * 60
|
exp: float = time() + 5 * 60
|
||||||
enable_chat: bool = False
|
enable_chat: bool = False
|
||||||
enable_emoji_reactions: bool = False
|
enable_emoji_reactions: bool = False
|
||||||
|
|||||||
Reference in New Issue
Block a user