[PR #11480] fix(provider): use process.env directly for runtime env mutations #13807

Closed
opened 2026-02-16 18:18:38 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/11480

State: closed
Merged: No


Summary

  • Use process.env directly instead of Env.set/Env.get for runtime environment variable mutations in sap-ai-core and amazon-bedrock providers
  • Env.set only updates a shallow copy, not process.env, which breaks SDKs that read environment variables directly
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11480 **State:** closed **Merged:** No --- ## Summary - Use `process.env` directly instead of `Env.set`/`Env.get` for runtime environment variable mutations in `sap-ai-core` and `amazon-bedrock` providers - `Env.set` only updates a shallow copy, not `process.env`, which breaks SDKs that read environment variables directly
yindo added the pull-request label 2026-02-16 18:18:38 -05:00
yindo closed this issue 2026-02-16 18:18:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13807