fireworks

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: MIT Imports: 7 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 fireworks provides Fireworks AI API integration for the LLM gateway.

Index

Constants

This section is empty.

Variables

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

Registration provides factory registration for the Fireworks AI provider.

Functions

func New

New creates a new Fireworks AI provider.

Types

type Provider

type Provider struct {
	*openai.ChatCompatible
}

Provider implements the core.Provider interface for Fireworks AI. Fireworks' inference API is OpenAI-compatible (chat completions, model listing, embeddings); model IDs are account-scoped paths such as "accounts/fireworks/models/llama-v3p1-8b-instruct" and pass through unchanged.

func (*Provider) ListModels added in v0.1.96

func (p *Provider) ListModels(ctx context.Context) (*core.ModelsResponse, error)

ListModels returns Fireworks' model listing, keeping the context window, the model kind and the feature flags each entry reports.

Jump to

Keyboard shortcuts

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