惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
M
MIT News - Artificial intelligence
D
Docker
S
SegmentFault 最新的问题
B
Blog
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
博客园 - 【当耐特】
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
腾讯CDC
阮一峰的网络日志
阮一峰的网络日志
U
Unit 42
C
Check Point Blog
GbyAI
GbyAI
美团技术团队
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
量子位
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Visual Studio Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
G
Google Developers Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix: update xai image generation model (#81399) · opencla...
KateWilkins · 2026-05-17 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -25,6 +25,7 @@ Docs: https://docs.openclaw.ai

2525

- CLI/config: add `--dry-run` support to `openclaw config unset`, with `--json` output and allow-exec validation parity with `config set`/`config patch` dry-run handling. (#81895) Thanks @giodl73-repo.

2626

- Memory-core: retry disabled dreaming cron cleanup until cron is available after startup, so persisted managed dreaming jobs are removed after restart. Fixes #82383. (#82389) Thanks @neeravmakwana.

2727

- Providers/xAI: keep retired Grok 3, Grok 4 Fast, Grok 4.1 Fast, and Grok Code slugs out of model pickers while preserving compatibility resolution for existing configs.

28+

- Providers/xAI: replace the retired `grok-imagine-image-pro` image model with `grok-imagine-image-quality` in the bundled image-generation provider and docs. (#81399) Thanks @KateWilkins.

2829

- Providers/OAuth: let browser-hosted identity provider pages read successful localhost callback responses, preventing xAI Grok OAuth from showing a false connection failure after OpenClaw completes login.

2930

- Gateway/diagnostics: redact credential-bearing gateway target URLs and client diagnostics while preserving raw connection URLs for programmatic use, so connect-failure logs no longer surface embedded tokens.

3031

- Gateway/auth: honor `OPENCLAW_GATEWAY_TOKEN` as the remote interactive fallback when no remote token is configured, keeping remote TUI setup aligned with documented auth precedence.

Original file line numberDiff line numberDiff line change

@@ -180,7 +180,7 @@ Legacy aliases still normalize to the canonical bundled ids:

180180

`image_generate` tool.

181181
182182

- Default image model: `xai/grok-imagine-image`

183-

- Additional model: `xai/grok-imagine-image-pro`

183+

- Additional model: `xai/grok-imagine-image-quality`

184184

- Modes: text-to-image and reference-image edit

185185

- Reference inputs: one `image` or up to five `images`

186186

- Aspect ratios: `1:1`, `16:9`, `9:16`, `4:3`, `3:4`, `2:3`, `3:2`

Original file line numberDiff line numberDiff line change

@@ -345,7 +345,7 @@ ComfyUI support 1.

345345

The bundled xAI provider uses `/v1/images/generations` for prompt-only

346346

requests and `/v1/images/edits` when `image` or `images` is present.

347347
348-

- Models: `xai/grok-imagine-image`, `xai/grok-imagine-image-pro`

348+

- Models: `xai/grok-imagine-image`, `xai/grok-imagine-image-quality`

349349

- Count: up to 4

350350

- References: one `image` or up to five `images`

351351

- Aspect ratios: `1:1`, `16:9`, `9:16`, `4:3`, `3:4`, `2:3`, `3:2`

Original file line numberDiff line numberDiff line change

@@ -93,7 +93,7 @@ describe("xai image generation provider", () => {

9393

expect(provider.id).toBe("xai");

9494

expect(provider.label).toBe("xAI");

9595

expect(provider.defaultModel).toBe("grok-imagine-image");

96-

expect(provider.models).toEqual(["grok-imagine-image", "grok-imagine-image-pro"]);

96+

expect(provider.models).toEqual(["grok-imagine-image", "grok-imagine-image-quality"]);

9797

expect(provider.capabilities.generate.maxCount).toBe(4);

9898

expect(provider.capabilities.generate.supportsAspectRatio).toBe(true);

9999

expect(provider.capabilities.geometry?.aspectRatios).toEqual([

@@ -189,7 +189,7 @@ describe("xai image generation provider", () => {

189189

const buffer = Buffer.from("fakeimage");

190190

await provider.generateImage({

191191

provider: "xai",

192-

model: "grok-imagine-image-pro",

192+

model: "grok-imagine-image-quality",

193193

prompt: "Render this as a pencil sketch with detailed shading",

194194

inputImages: [

195195

{

@@ -202,7 +202,7 @@ describe("xai image generation provider", () => {

202202
203203

const request = requirePostJsonCall();

204204

expect(request.url).toContain("/images/edits");

205-

expect(request.body?.model).toBe("grok-imagine-image-pro");

205+

expect(request.body?.model).toBe("grok-imagine-image-quality");

206206

expect(request.body?.prompt).toBe("Render this as a pencil sketch with detailed shading");

207207

const image = request.body?.image as { url?: string; type?: string } | undefined;

208208

expect(image?.url).toContain("data:image/png;base64,");

Original file line numberDiff line numberDiff line change

@@ -3,7 +3,7 @@ import { normalizeOptionalLowercaseString } from "openclaw/plugin-sdk/string-coe

33
44

export const XAI_BASE_URL = "https://api.x.ai/v1";

55

export const XAI_DEFAULT_IMAGE_MODEL = "grok-imagine-image";

6-

export const XAI_IMAGE_MODELS = ["grok-imagine-image", "grok-imagine-image-pro"] as const;

6+

export const XAI_IMAGE_MODELS = ["grok-imagine-image", "grok-imagine-image-quality"] as const;

77

export const XAI_DEFAULT_CONTEXT_WINDOW = 1_000_000;

88

const XAI_LARGE_CONTEXT_WINDOW = 2_000_000;

99

const XAI_GROK_4_CONTEXT_WINDOW = 256_000;