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');
 
 		}