Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ When the user's message matches a phrase below, read and follow the correspondin

Use the **Haiku** model to generate a task-specific summary (6 words max), then speak it:
```bash
tts -s 1.4 "<SUMMARY>"
tts -s 1.1 "<SUMMARY>"
```

The `tts` command automatically skips playback when the mic is active (e.g., on a call).
Expand Down
3 changes: 2 additions & 1 deletion agents/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

Use the **Haiku** model to generate a task-specific summary (6 words max), then speak it:
```bash
tts -s 1.4 "<SUMMARY>"
tts -s 1.1 "<SUMMARY>" # default
tts -s 1.1 -v alloy "<SUMMARY>" # for thanx repos (git remote contains "thanx")
```

The `tts` command automatically skips playback when the mic is active (e.g., on a call).
Expand Down
3 changes: 3 additions & 0 deletions cmd/tts/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ func main() {
Args: cobra.MinimumNArgs(1),
Run: func(_ *cobra.Command, args []string) {
text := strings.Join(args, " ")
if !strings.HasSuffix(text, ".") && !strings.HasSuffix(text, "!") && !strings.HasSuffix(text, "?") {
text += "."
}
if err := speak(text, voice, speed, model); err != nil {
fmt.Fprintf(os.Stderr, "Error: %v\n", err)
os.Exit(1)
Expand Down
Loading