Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ModelConfig *latest.ModelConfig
ModelOptions options.ModelOptions
}
Config is a common base configuration shared by all provider clients. It can be embedded in provider-specific Client structs to avoid code duplication.
func (*Config) MaxTokens ¶
MaxTokens returns the maximum tokens configured for this provider's model
func (*Config) Options ¶
func (c *Config) Options() options.ModelOptions
Options returns the effective model options used by this provider's model
Click to show internal directories.
Click to hide internal directories.