fix(ai): move AWS_BEDROCK_SKIP_AUTH inside Node.js environment check

The process.env access was outside the typeof process check, which
would throw in browser environments. Moved inside the Node.js/Bun
block for consistency with other env var access.

Also added changelog entry for #1320 and improved docs clarity.
This commit is contained in:
Mario Zechner 2026-02-06 10:45:20 +01:00
parent df527fb988
commit a40bf5fbd5
3 changed files with 16 additions and 13 deletions

View file

@ -2,6 +2,10 @@
## [Unreleased]
### Added
- Added `AWS_BEDROCK_SKIP_AUTH` and `AWS_BEDROCK_FORCE_HTTP1` environment variables for connecting to unauthenticated Bedrock proxies ([#1320](https://github.com/badlogic/pi-mono/pull/1320) by [@virtuald](https://github.com/virtuald))
### Fixed
- Set OpenAI Responses API requests to `store: false` by default to avoid server-side history logging ([#1308](https://github.com/badlogic/pi-mono/issues/1308))