Skip to content

fix(provider): use process.env directly for runtime env mutations#11482

Merged
rekram1-node merged 1 commit intoanomalyco:devfrom
jerome-benoit:fix/provider-env-set-shallow-copy
Jan 31, 2026
Merged

fix(provider): use process.env directly for runtime env mutations#11482
rekram1-node merged 1 commit intoanomalyco:devfrom
jerome-benoit:fix/provider-env-set-shallow-copy

Conversation

@jerome-benoit
Copy link
Contributor

Fixes #11481

Use process.env directly instead of Env.set/Env.get for runtime environment variable mutations in sap-ai-core and amazon-bedrock providers.

Tested by verifying the providers correctly set and read environment variables at runtime.

Env.set only updates a shallow copy, not process.env, which breaks
SDKs that read environment variables directly (sap-ai-core, amazon-bedrock).
@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

opencode-agent bot added a commit that referenced this pull request Jan 31, 2026
opencode-agent bot added a commit that referenced this pull request Jan 31, 2026
opencode-agent bot added a commit that referenced this pull request Jan 31, 2026
@rekram1-node rekram1-node merged commit a19ef17 into anomalyco:dev Jan 31, 2026
12 checks passed
alexyaroshuk pushed a commit to alexyaroshuk/opencode that referenced this pull request Feb 1, 2026
ishaksebsib pushed a commit to ishaksebsib/opencode that referenced this pull request Feb 4, 2026
ishaksebsib pushed a commit to ishaksebsib/opencode that referenced this pull request Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Env.set does not update process.env, breaking provider SDKs

2 participants