Explorar el Código

Update speech_openai.php

FusionPBX hace 10 meses
padre
commit
1425e11e3d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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');
 
 		}