mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 06:23:42 +00:00
revert: revert openai base_url setting
This commit is contained in:
parent
cf8ee499f9
commit
263acc0ba6
@ -21,10 +21,6 @@ class OpenAIClient(GenAIClient):
|
||||
|
||||
def _init_provider(self):
|
||||
"""Initialize the client."""
|
||||
if self.genai_config.base_url:
|
||||
return OpenAI(
|
||||
api_key=self.genai_config.api_key, base_url=self.genai_config.base_url
|
||||
)
|
||||
return OpenAI(api_key=self.genai_config.api_key)
|
||||
|
||||
def _send(self, prompt: str, images: list[bytes]) -> Optional[str]:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user