Skip to content

chore: release v0.18.0#58

Merged
doramirdor merged 1 commit into
mainfrom
chore/release-v0.18.0
May 26, 2026
Merged

chore: release v0.18.0#58
doramirdor merged 1 commit into
mainfrom
chore/release-v0.18.0

Conversation

@doramirdor
Copy link
Copy Markdown
Collaborator

Bundles the ADC support + Gemini streaming fix landed since 0.17.0:

  • Application Default Credentials for Gemini (Adc gemini #57, @froody) — falls back to google.auth.default() when no GOOGLE_API_KEY is set, so users can auth via GOOGLE_CLOUD_PROJECT / GOOGLE_CLOUD_LOCATION (Vertex AI / gcloud creds).
  • Fix Gemini streaming (Adc gemini #57, @froody) — _dispatch_model_stream was consuming _stream_gemini (an async generator) with a plain for loop and would have raised TypeError on any real streaming Gemini call. Now uses async for. Robust to google-genai SDK returning enum-like chunks / finish_reason.
  • savings tolerates None values (Adc gemini #57, @froody) — selected_model: None / tier: None in real logs (failed/aborted requests) no longer crash the report.
  • nadirclaw status displays the mid model (Adc gemini #57, @froody) when one is configured.

Why a release

The Gemini streaming bug was latent — anyone who actually hit stream=true on a Gemini-routed request would have gotten TypeError: 'async_generator' object is not iterable. Worth pinning a version. ADC is also a meaningful UX win for Vertex AI users who can't easily mint an API key.

Diff

  • nadirclaw/__init__.py__version__ = "0.18.0"
  • CHANGELOG.md — new [0.18.0] block under ### Added and ### Fixed

Verification

Co-Authored-By: Claude Opus 4.7 noreply@anthropic.com

🤖 Generated with Claude Code

Bundles the ADC + Gemini streaming fix landed since 0.17.0:

- Application Default Credentials support for Gemini (#57)
- Fix Gemini streaming async-generator consumption (#57)
- Robust google-genai chunk / finish_reason parsing (#57)
- savings.py tolerates None selected_model / tier in logs (#57)
- nadirclaw status shows mid-tier model when configured (#57)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@doramirdor
Copy link
Copy Markdown
Collaborator Author

CI green across Python 3.10 / 3.11 / 3.12 (run 26402176670) and the diff is the standard release shape (version bump + CHANGELOG). Merging now and cutting the v0.18.0 tag — no functional changes vs. main since #57 landed yesterday.

— scheduled review bot

@doramirdor doramirdor merged commit bc11e58 into main May 26, 2026
3 checks passed
@doramirdor doramirdor deleted the chore/release-v0.18.0 branch May 26, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant