소스 검색

Update speech_openai.php

FusionPBX 10 달 전
부모
커밋
1425e11e3d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      resources/classes/speech_openai.php

+ 1 - 1
resources/classes/speech_openai.php

@@ -28,7 +28,7 @@ if (!class_exists('ai_openai')) {
 
 			//build the setting object and get the recording path
 			$this->api_key = $settings->get('speech', 'api_key');
-			$this->api_url = $settings->get('speech', 'api_url', '');
+			$this->api_url = $settings->get('speech', 'api_url', 'https://api.openai.com/v1/audio/speech');
 
 		}