From fd24b3bab45d0fa90ff939492ff48d877bf0d66c Mon Sep 17 00:00:00 2001 From: zhanghanduo Date: Sun, 27 Sep 2026 22:07:15 +0800 Subject: [PATCH] chore(release): 0.12.2 Co-Authored-By: Claude Opus 5.5 (1M context) --- CHANGELOG.md | 6 ++++++ changes/openai-empty-key-no-env.fix.md | 1 - pyproject.toml | 2 +- uv.lock | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) delete mode 100644 changes/openai-empty-key-no-env.fix.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 7238290..f0df44c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ the GitHub Release body, so a release with no entry here fails. Versioning follows [docs/versioning.md](docs/versioning.md). +## [0.12.2] - 2026-09-27 + +### Fixed + +- OpenAI clients no longer fail at construction when the API key is empty and `OPENAI_API_KEY` is unset (a regression in 0.12.0 that broke hosts building an unused default OpenAI client, e.g. ApodexHarness BenchmarkSession beside an Anthropic workflow LLM). A placeholder key is used instead; a client that is actually called fails with the endpoint's 401. The environment variable still wins over an empty key. + ## [0.12.1] - 2026-09-26 ### Fixed diff --git a/changes/openai-empty-key-no-env.fix.md b/changes/openai-empty-key-no-env.fix.md deleted file mode 100644 index 7f302f6..0000000 --- a/changes/openai-empty-key-no-env.fix.md +++ /dev/null @@ -1 +0,0 @@ -OpenAI clients no longer fail at construction when the API key is empty and `OPENAI_API_KEY` is unset (a regression in 0.12.0 that broke hosts building an unused default OpenAI client, e.g. ApodexHarness BenchmarkSession beside an Anthropic workflow LLM). A placeholder key is used instead; a client that is actually called fails with the endpoint's 401. The environment variable still wins over an empty key. diff --git a/pyproject.toml b/pyproject.toml index 9cd9b1b..ec5e747 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "apodex-agent-core" -version = "0.12.1" +version = "0.12.2" description = "Shared, product-neutral runtime primitives for Apodex agents" readme = "README.md" license = "Apache-2.0" diff --git a/uv.lock b/uv.lock index 234cae8..32d87f8 100644 --- a/uv.lock +++ b/uv.lock @@ -50,7 +50,7 @@ wheels = [ [[package]] name = "apodex-agent-core" -version = "0.12.1" +version = "0.12.2" source = { editable = "." } dependencies = [ { name = "anthropic", extra = ["bedrock"] },