pricing

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(customPath string) error

Init initializes the pricing registry. It loads embedded defaults first, and then merges/overrides them with prices from customPath if provided.

func Resolve

func Resolve(handler, model string, override *config.AIPricingOptions) *config.AIPricingOptions

Resolve returns the pricing options for a given handler and model. Priority: 1. override (if not nil) 2. handler/model 3. model Returns nil if not found.

Types

This section is empty.

Jump to

Keyboard shortcuts

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