Skip to content

plexusone/omni-anthropic

Repository files navigation

OmniLLM Provider for Anthropic

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

Thick provider for OmniLLM using the official anthropic-sdk-go SDK.

Installation

go get github.com/plexusone/omnillm-anthropic

Quick Start

import (
    omnillm "github.com/plexusone/omnillm-core"
    _ "github.com/plexusone/omnillm-anthropic" // Auto-registers thick provider
)

client, _ := omnillm.NewClient(omnillm.ClientConfig{
    Provider: omnillm.ProviderNameAnthropic,
    APIKey:   os.Getenv("ANTHROPIC_API_KEY"),
})

Feature Support

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

Configuration

Field Required Description
APIKey Yes Anthropic API key
BaseURL No Custom endpoint

Documentation

See OmniLLM Core for full API documentation.

License

MIT

About

Thick provider for OmniLLM using the official anthropic-sdk-go SDK.

Resources

License

Stars

Watchers

Forks

Contributors

Languages