hetzner

package
v0.2.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2026 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package hetzner provides Hetzner Inference API integration for the LLM gateway.

The "hetzner" provider routes to Hetzner's experimental OpenAI-compatible inference endpoint, so all transport goes through the shared chat-centric adapter and model IDs are forwarded unchanged.

Note: Hetzner declares this inference API as experimental. Breaking changes may ship without notice and there is no SLA. Hetzner does not document an embeddings endpoint; chat completions, model listing, and passthrough are the supported surfaces.

Index

Constants

This section is empty.

Variables

View Source
var Registration = providers.Registration{
	Type: "hetzner",
	New:  New,
	Discovery: providers.DiscoveryConfig{
		DefaultBaseURL: defaultBaseURL,
	},
}

Registration provides factory registration for the Hetzner provider.

Functions

func New

New creates a new Hetzner provider.

Types

type Provider

type Provider struct {
	*openai.ChatCompatible
}

Provider implements the core.Provider interface for Hetzner. Hetzner is OpenAI-compatible, so all transport goes through the shared chat-centric adapter: chat completions, model listing, and passthrough are exposed via the embedded *openai.ChatCompatible. Hetzner documents no embeddings endpoint, so Embeddings is overridden to fail fast with a typed error.

func (*Provider) Embeddings

Embeddings returns an error because Hetzner does not expose an embeddings endpoint.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL