Skip to content

fix(runtime): declare OpenCode provider models - #596

Merged
Yevanchen merged 2 commits into
mainfrom
fix/runtime-opencode-provider-models
Sep 4, 2026
Merged

fix(runtime): declare OpenCode provider models#596
Yevanchen merged 2 commits into
mainfrom
fix/runtime-opencode-provider-models

Conversation

@Yevanchen

Copy link
Copy Markdown
Collaborator

Summary

  • Always render the active model in OpenCode provider configuration, including unrestricted BYOK credentials.
  • Preserve explicitly declared custom models and normalize provider-prefixed model IDs.
  • Add coverage for all built-in OpenCode adapters and unrestricted custom OpenAI-compatible providers.

Verification

  • just test-file apps/api/tests/runtime-vendor-env-vars.test.ts
  • just test-package @mosoo/api
  • just tc-package @mosoo/api
  • just fmt-check-path apps/api/src/modules/runtime/infrastructure/runtime-sandbox-provisioning/runtime-vendor-proxy-env.builder.ts
  • just check (blocked only by three unrelated macOS ACP process-tree test timeouts in the Driver submodule)

@Yevanchen
Yevanchen requested a review from samzong as a code owner September 3, 2026 08:59
@Yevanchen
Yevanchen merged commit 16d8e82 into main Sep 4, 2026
9 checks passed
@Yevanchen
Yevanchen deleted the fix/runtime-opencode-provider-models branch September 4, 2026 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant