From e6b1136f5efb505b9d9b42378d2887189a942002 Mon Sep 17 00:00:00 2001 From: ZhaiSoul <842607283@qq.com> Date: Tue, 19 May 2026 07:24:27 +0000 Subject: [PATCH] fix: fix chat request params miss runtime_options --- frigate/genai/openai.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frigate/genai/openai.py b/frigate/genai/openai.py index 09e0cf5381..daa750b6c2 100644 --- a/frigate/genai/openai.py +++ b/frigate/genai/openai.py @@ -203,6 +203,7 @@ class OpenAIClient(GenAIClient): "model": self.genai_config.model, "messages": messages, "timeout": self.timeout, + **self.genai_config.runtime_options, } if tools: @@ -315,6 +316,7 @@ class OpenAIClient(GenAIClient): "timeout": self.timeout, "stream": True, "stream_options": {"include_usage": True}, + **self.genai_config.runtime_options, } if tools: