feat: add personas voices CLI command (API parity)#85
Conversation
|
Warning Review limit reached
Next review available in: 59 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🟢 |
borgesius
left a comment
There was a problem hiding this comment.
Looks reasonable. This is a read-only voices command, and the response model matches the backend voices schema.
Summary
Adds
voicessubcommand tocoval personas.What's New
coval personas voices— list all available voices with supported languagesMatches
GET /v1/personas/voicesendpoint.Verification
cargo build✓ -cargo test90/90 ✓Greptile Summary
This PR adds a
voicessubcommand tocoval personas, hittingGET /v1/personas/voicesand rendering results as a table. The implementation follows the same patterns used byPhoneNumbersand other list commands already in the codebase.Voicemodel andListVoicesResponseinpersona.rs, with#[serde(flatten)]for forward-compatibility with unknown API fields.PersonasClient::list_voicesadded toclient/mod.rs, wired into thePersonaCommands::Voicesmatch arm incommands/personas.rs.Confidence Score: 5/5
Safe to merge — the change is an additive read-only command with no side effects and follows established patterns throughout the codebase.
The new command is a straightforward read-only addition: it calls a single GET endpoint, deserializes the response into a new model, and renders a table. No existing behavior is modified. The model, client method, and command handler all mirror the existing
PhoneNumberspath closely, leaving little room for regression.No files require special attention.
Reviews (3): Last reviewed commit: "fix: address review comments" | Re-trigger Greptile