relaycatalog

package
v1.3.72 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RelayURL

func RelayURL() string

Types

type ResolveResponse

type ResolveResponse struct {
	Found             bool      `json:"found"`
	MatchKind         string    `json:"match_kind,omitempty"`
	MatchedProviderID string    `json:"matched_provider_id,omitempty"`
	MatchedModelID    string    `json:"matched_model_id,omitempty"`
	ContextWindow     int       `json:"context_window,omitempty"`
	MaxOutputTokens   int       `json:"max_output_tokens,omitempty"`
	CatalogVersion    string    `json:"catalog_version,omitempty"`
	UpdatedAt         time.Time `json:"updated_at,omitempty"`
}

func Resolve

func Resolve(ctx context.Context, relayURL, providerID, modelID string) (ResolveResponse, error)

Jump to

Keyboard shortcuts

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