Skip to content

model

Model owns provider and model identity for the core.

Language: rust

Path: crates/model

Owns:

  • provider identity
  • model identity
  • canonical model construction
  • model catalog
  • model selection

Must Not:

  • read secrets
  • call model providers
  • depend on daemon state

Inputs:

  • provider IDs
  • model IDs
  • model specs

Outputs:

  • Model
  • Provider
  • ModelCatalog

Used By:

  • agent
  • auth

Verify:

  • cargo check -p model