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

推荐订阅源

M
MIT News - Artificial intelligence
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
J
Java Code Geeks
G
Google Developers Blog
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
腾讯CDC
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
The Blog of Author Tim Ferriss
月光博客
月光博客
B
Blog
WordPress大学
WordPress大学
云风的 BLOG
云风的 BLOG
博客园_首页
人人都是产品经理
人人都是产品经理
aimingoo的专栏
aimingoo的专栏
Y
Y Combinator Blog
Jina AI
Jina AI
S
SegmentFault 最新的问题
H
Help Net Security
博客园 - 聂微东
Microsoft Azure Blog
Microsoft Azure Blog
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
test: tighten provider config helper assertions · opencla...
steipete · 2026-05-09 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -79,7 +79,6 @@ describe("chutes-models", () => {

7979

expect(def.cost).toEqual(entry.cost);

8080

expect(def.contextWindow).toBe(entry.contextWindow);

8181

expect(def.maxTokens).toBe(entry.maxTokens);

82-

expect(def.compat).toBeDefined();

8382

if (!def.compat) {

8483

throw new Error("expected Chutes model compat");

8584

}

@@ -124,7 +123,6 @@ describe("chutes-models", () => {

124123

const secondModel = requireChutesModel(models, 1);

125124

expect(firstModel.id).toBe("zai-org/GLM-4.7-TEE");

126125

expect(secondModel.reasoning).toBe(true);

127-

expect(secondModel.compat).toBeDefined();

128126

if (!secondModel.compat) {

129127

throw new Error("expected Chutes API model compat");

130128

}

Original file line numberDiff line numberDiff line change

@@ -6,7 +6,6 @@ import plugin from "./index.js";

66

function registerProvider() {

77

const captured = capturePluginRegistration(plugin);

88

const provider = captured.providers[0];

9-

expect(provider).toBeDefined();

109

if (!provider) {

1110

throw new Error("expected Cloudflare AI Gateway provider");

1211

}

@@ -53,7 +52,6 @@ describe("cloudflare-ai-gateway plugin", () => {

5352

{},

5453

);

5554
56-

expect(capturedPayload).toBeDefined();

5755

if (!capturedPayload) {

5856

throw new Error("expected Cloudflare AI Gateway payload capture");

5957

}

Original file line numberDiff line numberDiff line change

@@ -15,7 +15,6 @@ describe("exa web search provider", () => {

1515

expect(provider.onboardingScopes).toEqual(["text-inference"]);

1616

expect(provider.credentialPath).toBe("plugins.entries.exa.config.webSearch.apiKey");

1717

const pluginEntry = applied.plugins?.entries?.exa;

18-

expect(pluginEntry).toBeDefined();

1918

if (!pluginEntry) {

2019

throw new Error("expected Exa plugin entry");

2120

}

@@ -45,7 +44,6 @@ describe("exa web search provider", () => {

4544

});

4645

expect(contractProvider.createTool({ config: {}, searchConfig: {} })).toBeNull();

4746

const pluginEntry = applied.plugins?.entries?.exa;

48-

expect(pluginEntry).toBeDefined();

4947

if (!pluginEntry) {

5048

throw new Error("expected contract Exa plugin entry");

5149

}

Original file line numberDiff line numberDiff line change

@@ -48,7 +48,6 @@ describe("fireworks provider plugin", () => {

4848

expect(provider.aliases).toEqual(["fireworks-ai"]);

4949

expect(provider.envVars).toEqual(["FIREWORKS_API_KEY"]);

5050

expect(provider.auth).toHaveLength(1);

51-

expect(resolved).toBeDefined();

5251

if (!resolved) {

5352

throw new Error("expected Fireworks api-key auth choice");

5453

}

@@ -63,7 +62,6 @@ describe("fireworks provider plugin", () => {

6362

expect(catalogProvider.api).toBe("openai-completions");

6463

expect(catalogProvider.baseUrl).toBe(FIREWORKS_BASE_URL);

6564

const models = catalogProvider.models;

66-

expect(models).toBeDefined();

6765

if (!models) {

6866

throw new Error("expected Fireworks catalog models");

6967

}

Original file line numberDiff line numberDiff line change

@@ -10,7 +10,6 @@ import {

1010

type QwenProvider = ReturnType<typeof buildQwenProvider>;

1111
1212

function getQwenModelIds(provider: QwenProvider): string[] {

13-

expect(provider.models).toBeDefined();

1413

return provider.models.map((model) => model.id);

1514

}

1615

@@ -43,7 +42,6 @@ describe("qwen provider catalog", () => {

4342

expect(nativeProvider.models.length).toBeGreaterThan(0);

4443

expect(

4544

nativeProvider.models.every((model) => {

46-

expect(model.compat).toBeDefined();

4745

if (!model.compat) {

4846

throw new Error(`expected Qwen model ${model.id} compat`);

4947

}

Original file line numberDiff line numberDiff line change

@@ -51,7 +51,6 @@ function makePrompter(confirmValue: boolean): DoctorPrompter {

5151

}

5252
5353

function requireAuthConfig(config: OpenClawConfig): NonNullable<OpenClawConfig["auth"]> {

54-

expect(config.auth).toBeDefined();

5554

if (!config.auth) {

5655

throw new Error("expected repaired auth config");

5756

}

Original file line numberDiff line numberDiff line change

@@ -85,7 +85,6 @@ async function readPersistedJobs(storePath: string): Promise<Array<Record<string

8585
8686

function requirePersistedJob(jobs: Array<Record<string, unknown>>, index: number) {

8787

const job = jobs[index];

88-

expect(job).toBeDefined();

8988

if (!job) {

9089

throw new Error(`expected persisted cron job ${index}`);

9190

}

Original file line numberDiff line numberDiff line change

@@ -36,7 +36,6 @@ async function loadProviderRegistry() {

3636
3737

function requireImageProvider(id: string): ImageGenerationProviderPlugin {

3838

const provider = getImageGenerationProvider(id);

39-

expect(provider).toBeDefined();

4039

if (!provider) {

4140

throw new Error(`expected image generation provider ${id}`);

4241

}