Skip to content

Commit

Permalink
Merge pull request #227 from pipecat-ai/aleix/daily-room-properties-e…
Browse files Browse the repository at this point in the history
…xtra

transports(daily): DailyRoomProperties now allow extra unknown parame…
  • Loading branch information
aconchillo authored Jun 12, 2024
2 parents ee880d2 + 7390e42 commit 2b324f6
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 2b324f6

Please sign in to comment.