From 027e0757d130547b408fb8dddfb895c6141c318e Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 25 Mar 2024 14:01:21 -0600 Subject: [PATCH] Update the voices array for key and value --- core/ai/resources/classes/ai_openai.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/core/ai/resources/classes/ai_openai.php b/core/ai/resources/classes/ai_openai.php index 97d948edb6..60d8d4b070 100644 --- a/core/ai/resources/classes/ai_openai.php +++ b/core/ai/resources/classes/ai_openai.php @@ -70,12 +70,12 @@ if (!class_exists('ai_openai')) { public function get_voices() : array { $voices = array( - "alloy", - "echo", - "fable", - "nova", - "onyx", - "shimmer" + "alloy" => "alloy", + "echo" => "echo", + "fable" => "fable", + "nova" => "nova", + "onyx" => "onyx", + "shimmer" => "shimmer" ); //return the languages array @@ -253,4 +253,4 @@ if (!class_exists('ai_openai')) { } } -?> \ No newline at end of file +?>