mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-01-22 20:18:30 +03:00
update gemini docs
This commit is contained in:
parent
c8e2fdb190
commit
0a466929eb
@ -117,7 +117,17 @@ genai:
|
|||||||
|
|
||||||
:::note
|
:::note
|
||||||
|
|
||||||
To use a different Gemini-compatible API endpoint, set the `GEMINI_BASE_URL` environment variable to your provider's API URL.
|
To use a different Gemini-compatible API endpoint, set the `provider_options` with the `base_url` key to your provider's API URL. For example:
|
||||||
|
|
||||||
|
```
|
||||||
|
genai:
|
||||||
|
provider: gemini
|
||||||
|
...
|
||||||
|
provider_options:
|
||||||
|
base_url: https://...
|
||||||
|
```
|
||||||
|
|
||||||
|
Other HTTP options are available, see the [python-genai documentation](https://github.com/googleapis/python-genai).
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user