Skip to content

Commit 3534193

Browse files
committed
Update list of voices for the AI
1 parent a5601f8 commit 3534193

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -978,8 +978,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
978978
Some(voice) => voice.into(),
979979
None => Voice::Echo,
980980
};
981-
let mut speak_stream =
982-
ss::SpeakStream::new(ai_voice, opt.speech_speed, opt.tick, true);
981+
let mut speak_stream = ss::SpeakStream::new(ai_voice, opt.speech_speed, opt.tick, true);
983982
if opt.mute {
984983
speak_stream.mute();
985984
}
@@ -1572,9 +1571,10 @@ async fn main() -> Result<(), Box<dyn Error>> {
15721571
}))
15731572
.build().unwrap(),
15741573

1574+
15751575
ChatCompletionFunctionsArgs::default()
15761576
.name("set_voice")
1577-
.description("Changes the AI speaking voice. Pass one of: alloy, echo, fable, onyx, nova, shimmer.")
1577+
.description("Changes the AI speaking voice. Pass one of: alloy, ash, coral, echo, fable, onyx, nova, sage, shimmer.")
15781578
.parameters(json!({
15791579
"type": "object",
15801580
"properties": { "voice": { "type": "string" } },

0 commit comments

Comments
 (0)