Skip to content

Commit

Permalink
feat: config voice_id
Browse files Browse the repository at this point in the history
  • Loading branch information
Chkhikvadze committed Nov 1, 2023
1 parent 1c601cf commit ce4ad7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/server/models/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class ConfigModel(BaseModel):
UUID, ForeignKey("agent.id", ondelete="CASCADE"), nullable=True, index=True
)
toolkit_id = Column(UUID, nullable=True)
voice_id = Column(UUID, nullable=True)
account_id = Column(
UUID, ForeignKey("account.id", ondelete="CASCADE"), nullable=True
)
Expand Down
2 changes: 2 additions & 0 deletions apps/server/typings/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class ConfigInput(BaseModel):
is_required: bool
agent_id: Optional[UUID4]
toolkit_id: Optional[UUID4]
voice_id: Optional[UUID4]
datasource_id: Optional[UUID4]
workspace_id: Optional[UUID4]
team_id: Optional[UUID4]
Expand All @@ -26,6 +27,7 @@ class ConfigOutput(BaseModel):
is_required: bool
agent_id: Optional[UUID4]
toolkit_id: Optional[UUID4]
voice_id: Optional[UUID4]
datasource_id: Optional[UUID4]
team_id: Optional[UUID4]
account_id: UUID4
Expand Down

0 comments on commit ce4ad7f

Please sign in to comment.