Beer Can Labs
Contracts / checkModel / offeredModels
Contract

checkModel / offeredModels

Whether an agent may use a model, and which models it may choose from.

Signature

checkModel(policy: ModelPolicy, name)
  : ModelCheck
offeredModels(policy): string[]

packages/executive/src/model-policy.ts ↗

Rules

  • Plain values in. The Executive does not import the control plane’s Policy.
  • Factory default applies when a policy names none (M2, E7).

Where it appears