Skip to content

Dev#1

Merged
thurakhant merged 2 commits into
mainfrom
dev
Apr 19, 2026
Merged

Dev#1
thurakhant merged 2 commits into
mainfrom
dev

Conversation

@thurakhant

Copy link
Copy Markdown
Owner

No description provided.

- GenuiXTransport.anthropic() — explicit Anthropic defaults, mirrors .openai()
- Automatic retry on 429 with exponential backoff (default maxRetries: 3)
- Respects Retry-After header when present
- maxRetries: 0 disables retries
Headline change for 0.0.11: ship a `GenuiXTransport.gemini()` factory
with a dedicated `GeminiSseParser` and runnable `gemini_main.dart`
example, plus an `enforceJsonMode` option for OpenAI-compatible backends
to tighten A2UI compliance.

- Refactor request building into `_buildUri()` / `_buildPayload()` so
  per-provider URI shapes (Gemini's `{model}` path) and bodies (Gemini's
  `contents` + `systemInstruction`) stay isolated; Anthropic and OpenAI
  paths are byte-identical.
- Internal rename pass — `claude_*` files/symbols become `genui_x_*` /
  `AnthropicSseParser` to match the public API and the new vendor-named
  parsers. Public surface unchanged.
- Add GitHub Actions CI (format / analyze / test) and absorb a one-shot
  `dart format` pass on pre-existing whitespace drift so
  `--set-exit-if-changed` stays green.

Made-with: Cursor
@thurakhant thurakhant self-assigned this Apr 19, 2026
@thurakhant thurakhant added documentation Improvements or additions to documentation enhancement New feature or request labels Apr 19, 2026
@thurakhant thurakhant merged commit 78f3e07 into main Apr 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant