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

推荐订阅源

钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
云风的 BLOG
云风的 BLOG
IT之家
IT之家
C
Check Point Blog
T
The Blog of Author Tim Ferriss
S
SegmentFault 最新的问题
人人都是产品经理
人人都是产品经理
H
Hackread – Cybersecurity News, Data Breaches, AI and More
美团技术团队
M
MIT News - Artificial intelligence
Jina AI
Jina AI
Blog — PlanetScale
Blog — PlanetScale
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Security Blog
Microsoft Security Blog
G
Google Developers Blog
F
Fortinet All Blogs
V
Visual Studio Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
Tailwind CSS Blog
Hugging Face - Blog
Hugging Face - Blog
MyScale Blog
MyScale Blog
爱范儿
爱范儿
The Cloudflare Blog
博客园 - 三生石上(FineUI控件)

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(gateway): skip plugin pricing scans when disabled · o...
steipete · 2026-04-28 · via Recent Commits to openclaw:main

@@ -165,6 +165,7 @@ function isConcreteOpenRouterFreeModelRef(ref: ModelRef): boolean {

165165

function resolveConfiguredOpenRouterCompatFreeRef(params: {

166166

cfg: OpenClawConfig;

167167

defaultProvider: string;

168+

allowManifestNormalization?: boolean;

168169

allowPluginNormalization?: boolean;

169170

}): ModelRef | null {

170171

const configuredModels = params.cfg.agents?.defaults?.models ?? {};

@@ -173,6 +174,7 @@ function resolveConfiguredOpenRouterCompatFreeRef(params: {

173174

continue;

174175

}

175176

const parsed = parseModelRef(raw, params.defaultProvider, {

177+

allowManifestNormalization: params.allowManifestNormalization,

176178

allowPluginNormalization: params.allowPluginNormalization,

177179

});

178180

if (parsed && isConcreteOpenRouterFreeModelRef(parsed)) {

@@ -190,6 +192,7 @@ function resolveConfiguredOpenRouterCompatFreeRef(params: {

190192

continue;

191193

}

192194

return normalizeModelRef("openrouter", modelId, {

195+

allowManifestNormalization: params.allowManifestNormalization,

193196

allowPluginNormalization: params.allowPluginNormalization,

194197

});

195198

}

@@ -201,11 +204,13 @@ export function resolveConfiguredOpenRouterCompatAlias(params: {

201204

cfg?: OpenClawConfig;

202205

raw: string;

203206

defaultProvider: string;

207+

allowManifestNormalization?: boolean;

204208

allowPluginNormalization?: boolean;

205209

}): ModelRef | null {

206210

const normalized = normalizeLowercaseStringOrEmpty(params.raw);

207211

if (normalized === "openrouter:auto") {

208212

return normalizeModelRef("openrouter", "auto", {

213+

allowManifestNormalization: params.allowManifestNormalization,

209214

allowPluginNormalization: params.allowPluginNormalization,

210215

});

211216

}

@@ -215,6 +220,7 @@ export function resolveConfiguredOpenRouterCompatAlias(params: {

215220

return resolveConfiguredOpenRouterCompatFreeRef({

216221

cfg: params.cfg,

217222

defaultProvider: params.defaultProvider,

223+

allowManifestNormalization: params.allowManifestNormalization,

218224

allowPluginNormalization: params.allowPluginNormalization,

219225

});

220226

}

@@ -223,12 +229,14 @@ export function parseModelRefWithCompatAlias(params: {

223229

cfg?: OpenClawConfig;

224230

raw: string;

225231

defaultProvider: string;

232+

allowManifestNormalization?: boolean;

226233

allowPluginNormalization?: boolean;

227234

}): ModelRef | null {

228235

return (

229236

resolveConfiguredOpenRouterCompatAlias(params) ??

230237

resolveExactConfiguredProviderRef(params) ??

231238

parseModelRef(params.raw, params.defaultProvider, {

239+

allowManifestNormalization: params.allowManifestNormalization,

232240

allowPluginNormalization: params.allowPluginNormalization,

233241

})

234242

);

@@ -237,6 +245,7 @@ export function parseModelRefWithCompatAlias(params: {

237245

function resolveExactConfiguredProviderRef(params: {

238246

cfg?: OpenClawConfig;

239247

raw: string;

248+

allowManifestNormalization?: boolean;

240249

allowPluginNormalization?: boolean;

241250

}): ModelRef | null {

242251

const slash = params.raw.indexOf("/");

@@ -265,7 +274,9 @@ function resolveExactConfiguredProviderRef(params: {

265274

const provider = normalizeLowercaseStringOrEmpty(configuredProvider);

266275

return {

267276

provider,

268-

model: normalizeStaticProviderModelId(provider, modelRaw.trim()),

277+

model: normalizeStaticProviderModelId(provider, modelRaw.trim(), {

278+

allowManifestNormalization: params.allowManifestNormalization,

279+

}),

269280

};

270281

}

271282

@@ -311,6 +322,7 @@ export function buildConfiguredAllowlistKeys(params: {

311322

export function buildModelAliasIndex(params: {

312323

cfg: OpenClawConfig;

313324

defaultProvider: string;

325+

allowManifestNormalization?: boolean;

314326

allowPluginNormalization?: boolean;

315327

}): ModelAliasIndex {

316328

const byAlias = new Map<string, { alias: string; ref: ModelRef }>();

@@ -322,6 +334,7 @@ export function buildModelAliasIndex(params: {

322334

cfg: params.cfg,

323335

raw: keyRaw,

324336

defaultProvider: params.defaultProvider,

337+

allowManifestNormalization: params.allowManifestNormalization,

325338

allowPluginNormalization: params.allowPluginNormalization,

326339

});

327340

if (!parsed) {

@@ -430,6 +443,7 @@ export function resolveModelRefFromString(params: {

430443

raw: string;

431444

defaultProvider: string;

432445

aliasIndex?: ModelAliasIndex;

446+

allowManifestNormalization?: boolean;

433447

allowPluginNormalization?: boolean;

434448

}): { ref: ModelRef; alias?: string } | null {

435449

const { model } = splitTrailingAuthProfile(params.raw);

@@ -447,6 +461,7 @@ export function resolveModelRefFromString(params: {

447461

cfg: params.cfg,

448462

raw: model,

449463

defaultProvider: params.defaultProvider,

464+

allowManifestNormalization: params.allowManifestNormalization,

450465

allowPluginNormalization: params.allowPluginNormalization,

451466

});

452467

if (!parsed) {

@@ -459,6 +474,7 @@ export function resolveConfiguredModelRef(params: {

459474

cfg: OpenClawConfig;

460475

defaultProvider: string;

461476

defaultModel: string;

477+

allowManifestNormalization?: boolean;

462478

allowPluginNormalization?: boolean;

463479

}): ModelRef {

464480

const rawModel = resolveAgentModelPrimaryValue(params.cfg.agents?.defaults?.model) ?? "";

@@ -467,13 +483,15 @@ export function resolveConfiguredModelRef(params: {

467483

const aliasIndex = buildModelAliasIndex({

468484

cfg: params.cfg,

469485

defaultProvider: params.defaultProvider,

486+

allowManifestNormalization: params.allowManifestNormalization,

470487

allowPluginNormalization: params.allowPluginNormalization,

471488

});

472489

if (!trimmed.includes("/")) {

473490

const openrouterCompatRef = resolveConfiguredOpenRouterCompatAlias({

474491

cfg: params.cfg,

475492

raw: trimmed,

476493

defaultProvider: params.defaultProvider,

494+

allowManifestNormalization: params.allowManifestNormalization,

477495

allowPluginNormalization: params.allowPluginNormalization,

478496

});

479497

if (openrouterCompatRef) {

@@ -507,6 +525,7 @@ export function resolveConfiguredModelRef(params: {

507525

raw: trimmed,

508526

defaultProvider: params.defaultProvider,

509527

aliasIndex,

528+

allowManifestNormalization: params.allowManifestNormalization,

510529

allowPluginNormalization: params.allowPluginNormalization,

511530

});

512531

if (resolved) {