feat: Add Post Call Transcription to Archives - #270
Conversation
AI Adoption Report
💰 Cost Breakdown
Total Estimated Cost: $0.0000
Per-commit breakdown (7 commits)
Warning The following commits have no Git AI authorship notes — AI adoption cannot be tracked for these changes.
Powered by Git AI Standard v3.0.0 — authorship data from |
There was a problem hiding this comment.
Pull request overview
This PR extends the Archives feature to support post-call transcription by adding transcription parameters to start_archive, parsing transcription-related fields onto the Archive model, and validating the behavior via a new unit test.
Changes:
- Added
has_transcriptionandtranscription_propertiesparameters toOpenTok.start_archive()and included them in the archive start request payload. - Extended
Archiveto exposehas_transcriptionandtranscription_propertiesfrom the API response. - Added a new test covering archive creation with transcription enabled and verifying request/response handling.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| tests/test_archive_api.py | Adds coverage for starting an archive with transcription enabled and validating request/response fields. |
| opentok/opentok.py | Adds new transcription-related parameters and payload fields to start_archive, plus corresponding docstring updates. |
| opentok/archives.py | Adds transcription-related fields to the Archive model initialization. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…when transcription is enabled Co-authored-by: superchilled <5489922+superchilled@users.noreply.github.com>
This PR updates the implementation for the Archives feature in order to add support for post-call transcription.