Downcity
Configuration

Model Configuration (Console + Agent)

Responsibility boundary between model pool and project binding

Model Configuration (Console + Agent)

Model setup is split into two responsibilities:

  1. Console manages the model pool (provider/model metadata, keys, endpoints).
  2. Agent project chooses model.primary in ship.json.

Workflow

  1. Configure provider/model in console.
  2. Set model.primary in project.
  3. Restart agent and validate one real invocation.

Commands

city console model list
city console model use default --path .
city console config set model.primary default
city agent restart .

Failure cases

  • missing model.primary target: agent startup fails.
  • invalid provider/key: model invocation fails with auth/network errors.

Table of Contents