picoclaw/pkg/agent/voice_prompt.go
KoheiYamashita 9906a67d06 fix: suppress emoji in voice/assistant mode and clean up system prompt
- Add no-emoji instruction to voice mode prompt for natural TTS output
- Apply voice mode prompt to both "voice" and "assistant" input modes
- Remove redundant identity header from system prompt (covered by IDENTITY.md)
- Simplify runtime info to "Termux (Android)"
- Remove emoji from IDENTITY.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 00:32:46 +09:00

17 lines
874 B
Go

package agent
func voiceModePrompt() string {
return `
## Voice Mode Instructions
The user is currently speaking to you via voice input. Your response will be read aloud by text-to-speech.
- Keep responses short and conversational (1-3 sentences by default)
- Do NOT use markdown formatting (no headers, bold, code blocks, tables, bullet lists)
- Use natural spoken language as if having a conversation
- Spell out numbers and avoid special characters that sound awkward when spoken
- Do NOT use emoji, emoticons, or kaomoji (e.g. 😊, (^^), ♪) — they are read aloud by TTS and sound unnatural
- If the user explicitly asks for more detail, provide longer explanations but still in natural spoken language without markdown
- If code, file contents, or highly technical output is needed, briefly summarize and suggest switching to text mode for the full details`
}