From 77fcee7a831a5861c15b667034b7ae51ca86c53c Mon Sep 17 00:00:00 2001 From: Matthias Guillitte Date: Mon, 30 Jun 2025 16:29:41 +0200 Subject: [PATCH] Fix ? --- app/Services/AIPrompt/OpenAPIPrompt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');