Skip to content

fix: use OpenCode environment interpolation - #366

Merged
chubes4 merged 1 commit into
mainfrom
fix/360-opencode-env-placeholder
Aug 15, 2026
Merged

fix: use OpenCode environment interpolation#366
chubes4 merged 1 commit into
mainfrom
fix/360-opencode-env-placeholder

Conversation

@chubes4

@chubes4 chubes4 commented Aug 15, 2026

Copy link
Copy Markdown
Member

Summary

  • emit OpenCode native {env:OPENAI_BASE_URL} interpolation for the WP AI Gateway provider
  • update local and external runtime regression assertions
  • preserve runtime-only endpoint and token delivery

Closes #360.

Verification

  • bash tests/external-wordpress-runtime.sh
  • bash tests/ai-gateway.sh
  • git diff --check
  • shell syntax validation
  • live external OpenCode run resolved the injected endpoint and reached the configured gateway

AI Assistance

OpenAI gpt-5.6-sol via OpenCode was used to trace the live external-runtime failure, implement the focused contract fix, and run verification. Chris Huber reviewed and is responsible for every line.

@chubes4
chubes4 merged commit aa22c3a into main Aug 15, 2026
48 checks passed
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.

Configure environment-backed AI Gateway for external runtimes

1 participant