Document invocation observation and cost reporting
This commit is contained in:
@@ -28,8 +28,10 @@ type ProfileInspection struct {
|
||||
// caller-owned. Nil pointers denote absent fields; non-nil pointers preserve
|
||||
// explicit zero values and empty collections in JSON and YAML.
|
||||
type BackendInspection struct {
|
||||
BackendID string `json:"id" yaml:"id"`
|
||||
Provider *string `json:"provider,omitempty" yaml:"provider,omitempty"`
|
||||
BackendID string `json:"id" yaml:"id"`
|
||||
// Provider is the normalized declaration, not a manufactured runtime default.
|
||||
Provider *string `json:"provider,omitempty" yaml:"provider,omitempty"`
|
||||
// ZeroCost preserves an explicitly declared false as well as true.
|
||||
ZeroCost *bool `json:"zero_cost,omitempty" yaml:"zero_cost,omitempty"`
|
||||
Endpoint string `json:"endpoint" yaml:"endpoint"`
|
||||
APIKeyEnv *string `json:"api_key_env,omitempty" yaml:"api_key_env,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user