Resolve os.homedir() lazily instead of at module load time

- Move homedir() calls into functions for lazy evaluation
- Add GOOGLE_APPLICATION_CREDENTIALS support for Vertex AI
This commit is contained in:
jhyang 2026-01-09 15:31:24 +08:00
parent 5eb53cdb9e
commit d2882c2643
4 changed files with 54 additions and 6 deletions

View file

@ -2,6 +2,14 @@
## [Unreleased]
### Added
- Added `GOOGLE_APPLICATION_CREDENTIALS` env var support for Vertex AI credential detection (standard for CI/production).
### Fixed
- Fixed `os.homedir()` calls at module load time; now resolved lazily when needed.
## [0.42.0] - 2026-01-09
### Added