Harness setup
Pi
Pi reads provider overrides from ~/.pi/agent/models.json. If PI_CODING_AGENT_DIR is set, use models.json in
that directory instead. Merge the block below into your config, preserving
the provider's API key and other headers. Repeat it for each provider you
use.
This sends Pi's Anthropic provider through the local Sleev gateway. Remove
any conflicting model-level baseUrl or Sleev routing header
override first.