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

推荐订阅源

Blog — PlanetScale
Blog — PlanetScale
博客园 - 司徒正美
Vercel News
Vercel News
F
Fortinet All Blogs
月光博客
月光博客
G
Google Developers Blog
博客园 - Franky
GbyAI
GbyAI
The Cloudflare Blog
I
InfoQ
雷峰网
雷峰网
WordPress大学
WordPress大学
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
T
The Blog of Author Tim Ferriss
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 聂微东
小众软件
小众软件
腾讯CDC
B
Blog
量子位
V
V2EX
S
SegmentFault 最新的问题
Google DeepMind News
Google DeepMind News

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
refactor(extensions): remove unused provider helpers · op...
vincentkoc · 2026-06-18 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -25,13 +25,6 @@ export const ANTHROPIC_MESSAGES_API = "anthropic-messages";

2525

export const COGNITIVE_SERVICES_RESOURCE = "https://cognitiveservices.azure.com";

2626

export const FOUNDRY_ANTHROPIC_SCOPE = "https://ai.azure.com/.default";

2727

export const TOKEN_REFRESH_MARGIN_MS = 5 * 60 * 1000;

28-

export const MAI_IMAGE_MODELS = [

29-

"MAI-Image-2.5-Flash",

30-

"MAI-Image-2.5",

31-

"MAI-Image-2e",

32-

"MAI-Image-2",

33-

] as const;

34-

export const MAI_DEFAULT_IMAGE_MODEL = "MAI-Image-2.5";

3528
3629

export interface AzAccount {

3730

name: string;

Original file line numberDiff line numberDiff line change

@@ -9,15 +9,6 @@ const OPENAI_THINKING_BASE_LEVELS = [

99

{ id: "high" },

1010

] as const satisfies ProviderThinkingProfile["levels"];

1111
12-

const OPENAI_XHIGH_MODEL_IDS = [

13-

"gpt-5.5",

14-

"gpt-5.5-pro",

15-

"gpt-5.4",

16-

"gpt-5.4-pro",

17-

"gpt-5.4-mini",

18-

"gpt-5.4-nano",

19-

] as const;

20-
2112

const OPENAI_CODEX_XHIGH_MODEL_IDS = [

2213

"gpt-5.5",

2314

"gpt-5.5-pro",

@@ -27,8 +18,9 @@ const OPENAI_CODEX_XHIGH_MODEL_IDS = [

2718

] as const;

2819
2920

const OPENAI_UNIFIED_XHIGH_MODEL_IDS = [

30-

...OPENAI_XHIGH_MODEL_IDS,

3121

...OPENAI_CODEX_XHIGH_MODEL_IDS,

22+

"gpt-5.4-mini",

23+

"gpt-5.4-nano",

3224

] as const;

3325
3426

function normalizeModelId(value: string): string {

@@ -57,10 +49,6 @@ function buildOpenAIThinkingProfile(params: {

5749

};

5850

}

5951
60-

export function resolveOpenAIThinkingProfile(modelId: string): ProviderThinkingProfile {

61-

return buildOpenAIThinkingProfile({ modelId, xhighModelIds: OPENAI_XHIGH_MODEL_IDS });

62-

}

63-
6452

export function resolveOpenAICodexThinkingProfile(modelId: string): ProviderThinkingProfile {

6553

return buildOpenAIThinkingProfile({ modelId, xhighModelIds: OPENAI_CODEX_XHIGH_MODEL_IDS });

6654

}

Original file line numberDiff line numberDiff line change

@@ -51,14 +51,6 @@ const qwenOAuthPresetAppliers = createModelCatalogPresetAppliers<[]>({

5151

},

5252

});

5353
54-

function applyQwenProviderConfig(cfg: OpenClawConfig): OpenClawConfig {

55-

return qwenPresetAppliers.applyProviderConfig(cfg, QWEN_GLOBAL_BASE_URL);

56-

}

57-
58-

function applyQwenProviderConfigCn(cfg: OpenClawConfig): OpenClawConfig {

59-

return qwenPresetAppliers.applyProviderConfig(cfg, QWEN_CN_BASE_URL);

60-

}

61-
6254

export function applyQwenConfig(cfg: OpenClawConfig): OpenClawConfig {

6355

return qwenPresetAppliers.applyConfig(cfg, QWEN_GLOBAL_BASE_URL);

6456

}

@@ -67,14 +59,6 @@ export function applyQwenConfigCn(cfg: OpenClawConfig): OpenClawConfig {

6759

return qwenPresetAppliers.applyConfig(cfg, QWEN_CN_BASE_URL);

6860

}

6961
70-

function applyQwenStandardProviderConfig(cfg: OpenClawConfig): OpenClawConfig {

71-

return qwenPresetAppliers.applyProviderConfig(cfg, QWEN_STANDARD_GLOBAL_BASE_URL);

72-

}

73-
74-

function applyQwenStandardProviderConfigCn(cfg: OpenClawConfig): OpenClawConfig {

75-

return qwenPresetAppliers.applyProviderConfig(cfg, QWEN_STANDARD_CN_BASE_URL);

76-

}

77-
7862

export function applyQwenStandardConfig(cfg: OpenClawConfig): OpenClawConfig {

7963

return qwenPresetAppliers.applyConfig(cfg, QWEN_STANDARD_GLOBAL_BASE_URL);

8064

}

@@ -86,12 +70,3 @@ export function applyQwenStandardConfigCn(cfg: OpenClawConfig): OpenClawConfig {

8670

export function applyQwenOAuthConfig(cfg: OpenClawConfig): OpenClawConfig {

8771

return qwenOAuthPresetAppliers.applyConfig(cfg);

8872

}

89-
90-

export const applyModelStudioProviderConfig = applyQwenProviderConfig;

91-

export const applyModelStudioProviderConfigCn = applyQwenProviderConfigCn;

92-

export const applyModelStudioConfig = applyQwenConfig;

93-

export const applyModelStudioConfigCn = applyQwenConfigCn;

94-

export const applyModelStudioStandardProviderConfig = applyQwenStandardProviderConfig;

95-

export const applyModelStudioStandardProviderConfigCn = applyQwenStandardProviderConfigCn;

96-

export const applyModelStudioStandardConfig = applyQwenStandardConfig;

97-

export const applyModelStudioStandardConfigCn = applyQwenStandardConfigCn;

Original file line numberDiff line numberDiff line change

@@ -40,9 +40,6 @@ export function getTelegramUserIdHelpLines(): string[] {

4040

];

4141

}

4242
43-

export const TELEGRAM_TOKEN_HELP_LINES = getTelegramTokenHelpLines();

44-

export const TELEGRAM_USER_ID_HELP_LINES = getTelegramUserIdHelpLines();

45-
4643

function normalizeTelegramAllowFromInput(raw: string): string {

4744

return raw

4845

.trim()