Skip to content

feat(voice-samples): keep voice samples in ~/.infer/voice/samples - #557

Merged
edenreich merged 2 commits into
mainfrom
feat/voice-samples-dir
Nov 12, 2026
Merged

edenreich merged 2 commits into
mainfrom
feat/voice-samples-dir

Conversation

@edenreich

@edenreich edenreich commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The voice samples library lived in ~/.infer/models/tts/samples, inside the CLI's model cache. The samples are the user's own recordings, so it moves to ~/.infer/voice/samples, where the CLI now looks first (cli PR 1819).

The app does not move existing samples. Someone who has samples in the old place moves them once:

mkdir -p ~/.infer/voice && mv ~/.infer/models/tts/samples ~/.infer/voice/samples

Until then the Voice samples tab is empty, while the CLI still finds the old samples by name.

Merge only after the CLI release with cli PR 1819. An older CLI reads only the old directory, so a sample added in the new one would not be found by name.

Not checked in the running app.

Changes

  • backend/src/tts_samples.rs - the new directory.
  • backend/tauri.conf.json, backend/src/agent/files.rs, frontend/lib/tools.ts - the asset scope and the two path checks follow.
  • frontend/components/VoiceSamplesTab.tsx - the path in the tab's description.
  • .agents/skills/video-editing/SKILL.md - the path the skill lists samples from.

@edenreich
edenreich marked this pull request as ready for review November 12, 2026 19:27
@edenreich
edenreich merged commit c4b6d65 into main Nov 12, 2026
7 checks passed
@edenreich
edenreich deleted the feat/voice-samples-dir branch November 12, 2026 19:45
@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.70.0 🎉

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

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant