Skip to content

feat(providers): add Qwen 3.6 Flash and Gemini 3.1 Live#102791

Merged
steipete merged 3 commits into
mainfrom
codex/qwen-flash-gemini-live
Jul 9, 2026
Merged

feat(providers): add Qwen 3.6 Flash and Gemini 3.1 Live#102791
steipete merged 3 commits into
mainfrom
codex/qwen-flash-gemini-live

Conversation

@steipete

@steipete steipete commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

What Problem This Solves

OpenClaw's Qwen catalog omitted qwen3.6-flash, while its Google realtime voice path still defaulted to a retired Gemini 2.5 Live model and sent payload fields that Gemini 3.1 Live does not support.

Closes #102751

Why This Change Was Made

  • Adds qwen3.6-flash as a reasoning-capable, text/image, 1M-context Qwen model on Standard pay-as-you-go endpoints.
  • Keeps it out of Coding Plan and Qwen Portal catalogs because Alibaba's Coding Plan is an exact allowlist that does not include this model and no Portal support contract was found.
  • Changes Google realtime voice and its live smoke default to gemini-3.1-flash-live-preview.
  • Adapts backend and Control UI browser transports to Gemini 3.1 Live: realtime text input, sequential tool responses, model-aware thinking levels, and omission of unsupported affective/asynchronous fields.
  • Preserves explicit Gemini 2.5 session behavior where its older wire contract is still selected.

Provider contracts checked:

User Impact

  • Qwen Standard users can select qwen/qwen3.6-flash with correct catalog metadata and thinking behavior.
  • Google Voice Call, Google Meet, and Control UI Talk default to the current Gemini 3.1 Live model.
  • Existing positive Google realtime thinkingBudget values map to the nearest Gemini 3.1 thinkingLevel; -1 keeps the provider default.
  • Coding Plan and Qwen Portal users do not see a model their endpoint does not advertise.

Evidence

  • Blacksmith Testbox tbx_01kx3a9phmf7mfh73r35a1733s: 80 focused Google/Qwen/UI tests passed; refreshed Google provider/UI run passed 57 tests.
  • Blacksmith Testbox: pnpm check:changed passed all core, core-test, extension, extension-test, docs, and tooling lanes in 10m09s.
  • Blacksmith Testbox: pnpm build passed, including tsdown, runtime postbuild, plugin SDK export checks, and Control UI production build.
  • Live Gemini API: gemini-3.1-flash-live-preview completed setup and produced 1,920 bytes of audio from realtime text input.
  • Live Qwen Standard API: qwen3.6-flash returned HTTP 200 streaming responses; embedded OpenClaw agent used the read tool once, returned the exact nonce, and used no fallback.
  • Fresh autoreview: clean, no accepted/actionable findings.
  • git diff --check and targeted oxfmt --check: clean.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui scripts Repository scripts plugin: google-meet extensions: google size: M maintainer Maintainer-authored PR labels Jul 9, 2026
@steipete steipete self-assigned this Jul 9, 2026
@steipete

steipete commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Land-ready proof for exact head 1173c273fc9ca52be68ee5b7557912ae4c215e95 (patch-identical mainline sync of the reviewed head).

Before/after:

  • main defaulted Google Live to gemini-2.5-flash-native-audio-preview-12-2025 and had no qwen3.6-flash catalog entry.
  • This head defaults backend/browser Talk paths to gemini-3.1-flash-live-preview, uses the 3.1 realtime-text/sequential-tool contract, preserves explicitly selected 2.5 behavior, and advertises qwen3.6-flash only on Standard Qwen endpoints.

Verification:

  • Blacksmith Testbox lease tbx_01kx3a9phmf7mfh73r35a1733s (harbor-krill): focused Google/Qwen/UI suites passed (80 tests), refreshed Google suites passed (57 tests), and the final Google provider suite passed (42 tests).
  • pnpm check:changed passed all selected core, core-test, extension, extension-test, docs, and tooling lanes on Testbox.
  • pnpm build passed on Testbox, including runtime postbuild, plugin SDK exports, and Control UI production build.
  • git diff --check and targeted oxfmt --check passed.
  • Fresh autoreview passed twice with no accepted/actionable findings.
  • Canonical exact-head CI, Blacksmith Testbox, ARM Testbox, build artifacts, and workflow sanity all passed.
  • On the pre-sync head, CI attempt 1 had one unrelated timeout waiting for a fixture PID in test/scripts/bundled-plugin-install-uninstall-probe.test.ts after 4,796 tests passed in that shard; attempt 2 passed.
  • OPENCLAW_TESTBOX=1 scripts/pr prepare-run 102791 passed with gates_mode=hosted_exact_or_recent_rebase.

Live provider proof:

  • Gemini 3.1 Live completed setup, accepted realtime text, and returned an assistant transcript plus 1,920 audio bytes.
  • Qwen 3.6 Flash streamed HTTP 200 through an embedded OpenClaw agent, invoked read exactly once, returned the exact nonce, and used no fallback.

Known gaps: none. Qwen Coding Plan excludes this model by its published allowlist; Portal support is unverified, so both remain intentionally suppressed. Preview-model lifecycle drift is the only normal external follow-up risk.

@steipete
steipete requested review from a team as code owners July 9, 2026 12:29
@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Jul 9, 2026
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Dependency Guard

This PR changes dependency-related files. Maintainers should confirm these changes are intentional.

Changed files:

  • pnpm-lock.yaml
  • ui/package.json

Maintainer follow-up:

  • Review whether the dependency changes are intentional.
  • Inspect resolved package deltas when lockfile, shrinkwrap, or workspace dependency policy changes are present.
  • Treat package-lock.json and npm-shrinkwrap.json diffs as security-review surfaces.
  • Run pnpm deps:changes:report -- --base-ref origin/main --markdown /tmp/dependency-changes.md --json /tmp/dependency-changes.json locally for detailed release-style evidence.

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Dependency graph changes noted

This PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin or a member of @openclaw/openclaw-secops.

  • Current SHA: 1173c273fc9ca52be68ee5b7557912ae4c215e95
  • Trusted actor: @steipete
  • Trusted role: pull request author; openclaw-secops

Security review is still recommended before merge when the dependency graph change is intentional.

@openclaw-barnacle openclaw-barnacle Bot added app: android App: android docker Docker and sandbox tooling channel: qqbot size: XL and removed size: M labels Jul 9, 2026
@clawsweeper

clawsweeper Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: feat(providers): add Qwen 3.6 Flash and Gemini 3.1 Live This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@steipete
steipete merged commit 07a7d59 into main Jul 9, 2026
132 of 138 checks passed
@steipete
steipete deleted the codex/qwen-flash-gemini-live branch July 9, 2026 12:37
@steipete

steipete commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 10, 2026
)

* feat(providers): add current Qwen and Gemini Live models

* fix(google): align live thinking enum type

* fix(google): align live thinking enum type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: android App: android app: web-ui App: web-ui channel: qqbot dependencies-changed PR changes dependency-related files docker Docker and sandbox tooling docs Improvements or additions to documentation extensions: google maintainer Maintainer-authored PR plugin: google-meet scripts Repository scripts size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add Qwen 3.6 Flash and current Gemini Live model

1 participant