Skip to content

Commit

Permalink
transports(daily): DailyRoomProperties now allow extra unknown parame…
Browse files Browse the repository at this point in the history
…ters
  • Loading branch information
aconchillo committed Jun 12, 2024
1 parent ee880d2 commit 7390e42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/pipecat/transports/services/helpers/daily_rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7390e42

Please sign in to comment.