Documentation
¶
Overview ¶
Package modelprovider validates the frozen upstream connection supplied to a native Harness.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrConfiguration = errors.New("invalid model provider configuration")
Functions ¶
This section is empty.
Types ¶
type Protocol ¶
type Protocol string
type Provider ¶
type Provider struct {
Protocol Protocol `json:"protocol"`
BaseURL string `json:"base_url"`
APIKey string `json:"api_key"`
ContextWindow int32 `json:"context_window,omitempty"`
MaxOutputTokens int32 `json:"max_output_tokens,omitempty"`
}
Provider is the confidential, frozen upstream bundle supplied by Core. Engine selection and model identity remain separate execution inputs.