Skip to content

plexusone/omnillm-gemini

Repository files navigation

OmniLLM Provider for Google Gemini

Go CI Go Lint Go SAST Go Report Card Docs Visualization License

Thick provider for OmniLLM using the official google.golang.org/genai SDK.

Installation

go get github.com/plexusone/omnillm-gemini

Quick Start

import (
    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 Support

Feature Supported
Chat Completion Yes
Streaming Yes
Tool Calling No
System Messages Yes
JSON Mode No

Configuration

Field Required Description
APIKey Yes Google AI API key

Documentation

See OmniLLM Core for full API documentation.

License

MIT

About

Thick provider for OmniLLM using the official google.golang.org/genai SDK.

Resources

License

Stars

Watchers

Forks

Contributors

Languages