Files
alzeo/tests
Hasan BasbunarandClaude Opus 5.5 ade00a01bb opencode 2: list opencode's hosted provider and its free models again (decision 1595)
From v1.56.0 the generated OpenCode 2 config denied opencode's own provider
("policies", provider.use on "opencode"), and a fresh install copied that deny
into the user's global config: the Agent tab's picker lost the free models
1.x lists beside the box's lanes, a choice nobody had made. The generated
config denies no provider now; the default and small model stay the box's
lane. An update takes the exact deny of v1.56.0 to v1.59.0 out of the global
config (oc-merge-limits.py --remove-provider-deny, after a backup); a policy
of the user's own stays, and disabled_providers is never touched.

Tests: test_oc_provider_deny.py (the tool, and install.sh's own lines on a
v1.59.0 copy), the generated config on both majors, the uninstall purge on
copies with and without the old deny. Red on the old code, green after.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 17:55:07 +01:00
..