diff options
| author | Dax Raad <[email protected]> | 2025-12-03 18:30:42 -0500 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-12-03 18:30:42 -0500 |
| commit | ee4437ff32fc2acbd2220060fc980a096730bcee (patch) | |
| tree | 56092c36b7f744565ee08f590bee3aa2d4469620 /github/script/publish | |
| parent | 7a4aa68706376f9d2c431437e9a7f020ffc40bae (diff) | |
| download | opencode-ee4437ff32fc2acbd2220060fc980a096730bcee.tar.gz opencode-ee4437ff32fc2acbd2220060fc980a096730bcee.zip | |
core: add provider test coverage for upcoming refactor
Add comprehensive test suite for Provider module to ensure safe
refactoring of provider internals. Tests cover:
- Provider loading from env vars and config
- Provider filtering (disabled_providers, enabled_providers)
- Model whitelist/blacklist
- Model aliasing and custom providers
- getModel, getProvider, closest, defaultModel functions
Also adds Env module for instance-scoped environment variable access,
enabling isolated test environments without global state pollution.
Diffstat (limited to 'github/script/publish')
0 files changed, 0 insertions, 0 deletions
