소스 검색

Update the voices array for key and value

FusionPBX 1 년 전
부모
커밋
b60e85a0e1
1개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 7 7
      core/ai/resources/classes/ai_openai.php

+ 7 - 7
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')) {
 	}
 }
 
-?>
+?>