Skip to content

feat: add agents voices and voice-groups sample commands#61

Merged
yorkable merged 1 commit into
mainfrom
feat-discovery-sample
Apr 30, 2026
Merged

feat: add agents voices and voice-groups sample commands#61
yorkable merged 1 commit into
mainfrom
feat-discovery-sample

Conversation

@yorkable

Copy link
Copy Markdown
Contributor

Summary

  • agents voicesGET /api/v1/agents/voices/available (table or json output)
  • voice-groups sample --file body.json > sample.mp3POST /api/v1/voice_groups/voices/sample (binary audio to stdout)
  • Closes 2/15 of the gaps identified by an OpenAPI vs. CLI coverage diff

PR 3 of 5 in the 100% coverage initiative. Independent of PRs #59 and #60.

Test plan

  • go test ./... passes (3 new tests)
  • go build clean
  • --help renders for both commands
  • Live: syllable agents voices against any org should return the provider catalog
  • Live: syllable voice-groups sample --file body.json > sample.mp3 produces a playable audio file

🤖 Generated with Claude Code

Closes coverage gaps for two voice-discovery spec endpoints:
- GET /api/v1/agents/voices/available (agent_get_available_voices)
- POST /api/v1/voice_groups/voices/sample (voice_groups_create_voice_sample)

agents voices renders a table by default (PROVIDER, DISPLAY_NAME, GENDER,
MODEL) or JSON with --output json. voice-groups sample takes a JSON body
and streams the binary audio response to stdout for redirection (mirrors
the pronunciations get-csv pattern).

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@yorkable
yorkable force-pushed the feat-discovery-sample branch from df92512 to 94ec35d Compare April 30, 2026 23:05
@yorkable
yorkable merged commit 5d904da into main Apr 30, 2026
2 checks passed
@yorkable
yorkable deleted the feat-discovery-sample branch April 30, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant