feat(discovery): add OpenCode Go protocol adapters - #1048
Conversation
Signed-off-by: Seongho Bae <me@seonghobae.me>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedNext included review available in 39 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Signed-off-by: Seongho Bae <me@seonghobae.me>
Summary
OPENCODE_ZEN_API_KEYLive catalog evidence
A credential-free request to
https://opencode.ai/zen/go/v1/modelsreturned 34 rows. Every row had onlyid,object,created, andowned_by; no endpoint or protocol field was present.OpenCode's official Go documentation supplies the endpoint grouping used for the minimal Chat Completions allowlist:
https://opencode.ai/docs/go
Tests
uv run pytest -q tests/test_opencode_go.py tests/test_model_discovery.py tests/test_provider_catalog_bootstrap.py tests/test_provider_catalog_store.py tests/test_local_mlx.py tests/test_chat_passthrough_capability_isolation.py(230 passed)uvx ruff check --select F --ignore F821 contextual_orchestrator/orchestrator.py contextual_orchestrator/model_discovery.py tests/test_opencode_go.pygit diff --checkThe final PR diff is 3 files, 95 insertions, and 2 deletions. The prior 298-line adapter was removed. No merge requested or performed.