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

推荐订阅源

Last Week in AI
Last Week in AI
有赞技术团队
有赞技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
人人都是产品经理
人人都是产品经理
博客园 - 司徒正美
博客园 - 聂微东
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
罗磊的独立博客
IT之家
IT之家
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
T
Tailwind CSS Blog
大猫的无限游戏
大猫的无限游戏
Hugging Face - Blog
Hugging Face - Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
N
Netflix TechBlog - Medium
MyScale Blog
MyScale Blog
J
Java Code Geeks
L
LangChain Blog
S
SegmentFault 最新的问题
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Apple Machine Learning Research
Apple Machine Learning Research
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
Optimize session list model row resolution · openclaw/ope...
2026-05-06 · via Recent Commits to openclaw:main

@@ -578,6 +578,27 @@ function resolveSessionRowModelIdentityRef(params: {

578578

params.fallbackModelRef,

579579

);

580580

}

581+

const runtimeModel = normalizeOptionalString(params.entry?.model);

582+

const runtimeProvider = normalizeOptionalString(params.entry?.modelProvider);

583+

const fallbackModelRef = normalizeOptionalString(params.fallbackModelRef);

584+

if (runtimeModel && runtimeProvider && !fallbackModelRef) {

585+

return { provider: runtimeProvider, model: runtimeModel };

586+

}

587+

const normalizedOverride = normalizeStoredOverrideModel({

588+

providerOverride: params.entry?.providerOverride,

589+

modelOverride: params.entry?.modelOverride,

590+

});

591+

if (

592+

!runtimeModel &&

593+

!fallbackModelRef &&

594+

normalizedOverride.providerOverride &&

595+

normalizedOverride.modelOverride

596+

) {

597+

return {

598+

provider: normalizedOverride.providerOverride,

599+

model: normalizedOverride.modelOverride,

600+

};

601+

}

581602

const key = createSessionEntryModelCacheKey({

582603

cfg: params.cfg,

583604

agentId: params.agentId,

@@ -589,14 +610,12 @@ function resolveSessionRowModelIdentityRef(params: {

589610

return cached;

590611

}

591612592-

const runtimeModel = normalizeOptionalString(params.entry?.model);

593-

const runtimeProvider = normalizeOptionalString(params.entry?.modelProvider);

594613

if (

595614

!runtimeModel &&

596615

!runtimeProvider &&

597-

!normalizeOptionalString(params.fallbackModelRef) &&

598-

!normalizeOptionalString(params.entry?.providerOverride) &&

599-

!normalizeOptionalString(params.entry?.modelOverride)

616+

!fallbackModelRef &&

617+

!normalizedOverride.providerOverride &&

618+

!normalizedOverride.modelOverride

600619

) {

601620

const resolved = resolveSessionDefaultModelRefForRow(params.cfg, params.agentId);

602621

params.rowContext.modelIdentityByEntryKey.set(key, resolved);

@@ -623,6 +642,12 @@ function resolveSessionSelectedModelRef(params: {

623642

providerOverride: params.entry?.providerOverride,

624643

modelOverride: params.entry?.modelOverride,

625644

});

645+

if (override.providerOverride && override.modelOverride) {

646+

return {

647+

provider: override.providerOverride,

648+

model: override.modelOverride,

649+

};

650+

}

626651

if (!override.modelOverride) {

627652

return null;

628653

}

@@ -1811,12 +1836,23 @@ export function buildGatewaySessionRow(params: {

1811183618121837

const thinkingProvider = rowModelProvider ?? DEFAULT_PROVIDER;

18131838

const thinkingModel = rowModel ?? DEFAULT_MODEL;

1814-

const thinkingLevels = resolveSessionRowThinkingLevels({

1815-

provider: thinkingProvider,

1816-

model: thinkingModel,

1817-

modelCatalog: params.modelCatalog,

1818-

rowContext,

1819-

});

1839+

const thinkingLevels = lightweight

1840+

? undefined

1841+

: resolveSessionRowThinkingLevels({

1842+

provider: thinkingProvider,

1843+

model: thinkingModel,

1844+

modelCatalog: params.modelCatalog,

1845+

rowContext,

1846+

});

1847+

const thinkingDefault = lightweight

1848+

? undefined

1849+

: resolveGatewaySessionThinkingDefault({

1850+

cfg,

1851+

provider: thinkingProvider,

1852+

model: thinkingModel,

1853+

agentId: sessionAgentId,

1854+

modelCatalog: params.modelCatalog,

1855+

});

18201856

const pluginExtensions =

18211857

!lightweight && entry ? projectPluginSessionExtensionsSync({ sessionKey: key, entry }) : [];

18221858

@@ -1845,16 +1881,8 @@ export function buildGatewaySessionRow(params: {

18451881

abortedLastRun: entry?.abortedLastRun,

18461882

thinkingLevel: entry?.thinkingLevel,

18471883

thinkingLevels,

1848-

thinkingOptions: thinkingLevels.map((level) => level.label),

1849-

thinkingDefault: lightweight

1850-

? entry?.thinkingLevel

1851-

: resolveGatewaySessionThinkingDefault({

1852-

cfg,

1853-

provider: thinkingProvider,

1854-

model: thinkingModel,

1855-

agentId: sessionAgentId,

1856-

modelCatalog: params.modelCatalog,

1857-

}),

1884+

thinkingOptions: thinkingLevels?.map((level) => level.label),

1885+

thinkingDefault,

18581886

fastMode: entry?.fastMode,

18591887

verboseLevel: entry?.verboseLevel,

18601888

traceLevel: entry?.traceLevel,