Document invocation observation and cost reporting

This commit is contained in:
2026-11-22 18:38:11 +00:00
parent d4509b163e
commit 20c5ea47af
22 changed files with 231 additions and 52 deletions

View File

@@ -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"`