Skip to content

[DOCS] Document TextToSpeech voice_sample samples-library fallback #657

Closed

Description

@inference-gateway-maintainer

Summary

The CLI's TextToSpeech tool now resolves a bare voice_sample name that is missing from the working directory against the desktop voice samples library (~/.infer/models/tts/samples/<name>), completing the end-to-end voice-cloning flow for WAV samples uploaded through the desktop samples library (inference-gateway/desktop#188). The tool's voice_sample parameter description now mentions the fallback. The text-to-speech documentation does not yet describe where voice_sample is looked up.

Affected pages: docs/text-to-speech.md in inference-gateway/cli and any mirrored tool documentation in this repository.

Implementation: inference-gateway/cli#1175 (branch fix/issue-1174)

Acceptance Criteria

  • The text-to-speech documentation states the voice_sample resolution order: working directory first, then ~/.infer/models/tts/samples/
  • The desktop-managed voice samples library is documented as a supported source for voice-cloning samples
  • If tool errors are documented, note that a sample found in neither location fails with an error naming the paths tried

Activity

  1. added
    documentation
    on Sep 4, 2026
  2. edenreich commented on Sep 4, 2026

    @edenreich
    Contributor

    @claude Can you document this? use /ponytail:ponytail

  3. inference-gateway-maintainer commented on Sep 4, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 1m 38s —— View job • docs/issue-657-20260904-1802 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-657-20260904-1802?quick_pull=1&title=Issue%20%23657%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23657%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Documented the voice_sample samples-library fallback

    • Read issue and repo conventions (CLAUDE.md)
    • Audit existing coverage in cli-text-to-speech.md / desktop.md
    • Fix the stale mirrored tool description in cli.md
    • Add a troubleshooting row for the not-found error
    • bun run lint:md, bun run format:check, bun run build - all pass
    • Commit + open PR #659

    Most of the acceptance criteria were already met by 07b3c3d: cli-text-to-speech.md:115 states the resolution order and the error, and the voice samples library section plus desktop.md:285 cover the desktop-managed source. Two real gaps remained:

    • cli.md:1189 - the mirrored TextToSpeech tool reference still said "Path to a WAV of the target speaker". Now: bare file name, working directory first then ~/.infer/models/tts/samples/, links to the samples-library section, and notes the error listing both paths tried.
    • cli-text-to-speech.md troubleshooting - added a voice sample ... not found row pointing at both locations and the bare-name requirement.

    Skipped: rewriting the cli.md TextToSpeech blurb's "fully offline llama-tts" framing (stale re: the gateway default, but out of scope for this issue) - worth its own ticket.

    Board: issue moved to QA on Roadmap 2026.

  4. moved this from Todo to In progress in 2026on Sep 4, 2026
  5. moved this from In progress to QA in 2026on Sep 4, 2026
  6. moved this from QA to Done in 2026on Sep 4, 2026
  7. inference-gateway-releaser commented on Sep 22, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.14 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions