Documentation
¶
Index ¶
Constants ¶
View Source
const ( VerdictAdmit = "admit" VerdictRefuse = "refuse" VerdictDegrade = "degrade" ReasonFit = "budget_fit" ReasonOverflow = "required_overflow" ReasonDropped = "optional_dropped" ReasonAnchors = "anchors_lost" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Decision ¶
type Decision struct {
Verdict string `json:"verdict"`
Reason string `json:"reason"`
BudgetBytes int64 `json:"budget_bytes"`
RequestedBytes int64 `json:"requested_bytes"`
RemainingBytes int64 `json:"remaining_bytes"`
RequiredOverflow bool `json:"required_overflow"`
DroppedOptional int `json:"dropped_optional,omitempty"`
ItemsRequired int `json:"items_required"`
ItemsIncluded int `json:"items_included"`
CoverageBPS int `json:"coverage_bps"`
ToolCalls int `json:"tool_calls"`
Included []ctxpack.Item `json:"included,omitempty"`
}
type Dispatcher ¶
type Dispatcher func()
Click to show internal directories.
Click to hide internal directories.