$ lexprog.com

// notes from an old coder -- php, databases, and the occasional rant

[October 16, 2026] OpenCode

Pin the model id: in a shared repo

Set an explicit model so a provider alias cannot rewrite the team overnight. Commit the setting so every clone matches.

────────────────────────────────────────────────────────

Pin the model id: in a shared repo

Tip: latest is not a contract

Set an explicit model so a provider alias cannot rewrite the team overnight. Commit the setting so every clone matches.

{ "model": "anthropic/claude-sonnet-4-6" }

Gotcha: Leaving model unset (in a shared repo)

Each developer then hits a different default and reviews become model-vs-model. A laptop-only tweak will look like a model regression on CI.

{ "provider": "anthropic" }

Source: https://opencode.ai/docs/providers

────────────────────────────────────────────────────────
<-- back to posts