Beer Can Labs
Contracts / complete
Contract

complete

Serves one model call: validates the request, finds the provider’s adapter and calls it. Never throws.

Signature

complete(request, catalog, adapters)
  : Promise<Completion>

packages/executive/src/complete.ts ↗

Rules

  • Returns a result, a refusal made before any provider was called, or the upstream failure.
  • The Executive holds no credential and answers no HTTP request.

Where it appears