This release is a pre-release and may not be stable for production use.
opsmate-provider-google-genai
opsmate-provider-google-genai provides selected models from Google GenAI.
Installation
opsmate install opsmate-provider-google-genai
After installation you can list all the models via
$ opsmate list-models
Limitations
Only Vertex AI models are supported
:warning: This provider currently does not support Gemini API, because the Gemini API does not support default value in the response schema.
As the result, currently only vertex AI models are supported, meaning you need to have a Google Cloud account in order to use this provider.
Limited region support for gemini-2.5-pro
By the time the provider is published, the gemini-2.5-pro-preview-03-25 and gemini-2.5-pro-exp-03-25 models are only available in the us-central1 region. To use it you will need to set GOOGLE_CLOUD_LOCATION as below:
export GOOGLE_CLOUD_LOCATION=us-central1
# or
export GOOGLE_CLOUD_LOCATION=global
Usage
export GOOGLE_CLOUD_PROJECT=<your-project-id>
export GOOGLE_CLOUD_LOCATION=<your-location>
opsmate chat -m gemini-2.0-flash-001
Uninstall
opsmate uninstall -y opsmate-provider-google-genai
Metadata
Release files for opsmate-provider-google-genai 0.1.1a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| opsmate_provider_google_genai-0.1.1a0.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opsmate_provider_google_genai-0.1.1a0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / opsmate_provider_google_genai-0.1.1a0.tar.gz
| Download URL | opsmate_provider_google_genai-0.1.1a0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b90e0cb8a5d8da7295727785d6c7e2081ac77697a759f00c5cb5c5e3cf395cc
|
|
BLAKE2b-256 checksum How to use checksums |
f464e085c77b89c864f23db7ec8c32d835504e0d5d66729d0b35c2bee0ad6766
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 16, 2025.
Transparency logRelease files / opsmate_provider_google_genai-0.1.1a0-py3-none-any.whl
| Download URL | opsmate_provider_google_genai-0.1.1a0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fac684996797aa866f95c3f56201a4f8cc3e1be29c543c3b95781eb3ff1a51f2
|
|
BLAKE2b-256 checksum How to use checksums |
36ae6a847508a0c111b55a3005459b510382093c17706a4973887203dc033a1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 16, 2025.
Transparency log