diff --git a/app/Services/AIPrompt/OpenAPIPrompt.php b/app/Services/AIPrompt/OpenAPIPrompt.php index 0142043..4705ddc 100644 --- a/app/Services/AIPrompt/OpenAPIPrompt.php +++ b/app/Services/AIPrompt/OpenAPIPrompt.php @@ -12,7 +12,7 @@ class OpenAPIPrompt implements IAIPrompt private string $host; private ?string $token = null; - public function __construct(string $host = null) { + public function __construct(?string $host = null) { $this->host = $host ?? config('llm.api.host'); if (config('llm.api.token')) { $this->token = config('llm.api.token');