You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenAICompatProvider fails fast with a clear ModelProviderError when no
API key is configured, instead of the cryptic httpx "Illegal header
value b'Bearer '". See CHANGELOG.md [v0.28.3].
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## [v0.28.3] - 2026-05-22
11
+
12
+
### Fixed
13
+
-`OpenAICompatProvider` now fails fast with a clear `ModelProviderError` (`code=model_missing_api_key`) when no API key is configured. Previously it built an empty `Authorization: Bearer ` header and the request died with the cryptic `httpx.LocalProtocolError: Illegal header value b'Bearer '`; the router surfaced that as the last-error string with no hint that a key was simply missing. The error now reads `No API key for OpenAI-compatible provider (model '...')` and names the expected env var. Router fallback is unaffected — the provider raises at request time like any other failure (`astromesh/providers/openai_compat.py`)
14
+
10
15
## [v0.28.2] - 2026-05-20
11
16
12
17
No changes to the `astromesh` core package; this release tracks the
0 commit comments