Thick provider for OmniLLM using the official google.golang.org/genai SDK.
go get github.com/plexusone/omnillm-geminiimport (
omnillm "github.com/plexusone/omnillm-core"
_ "github.com/plexusone/omnillm-gemini" // Auto-registers thick provider
)
client, _ := omnillm.NewClient(omnillm.ClientConfig{
Provider: omnillm.ProviderNameGemini,
APIKey: os.Getenv("GEMINI_API_KEY"),
})| Feature | Supported |
|---|---|
| Chat Completion | Yes |
| Streaming | Yes |
| Tool Calling | No |
| System Messages | Yes |
| JSON Mode | No |
| Field | Required | Description |
|---|---|---|
APIKey |
Yes | Google AI API key |
See OmniLLM Core for full API documentation.
MIT