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

推荐订阅源

U
Unit 42
T
The Blog of Author Tim Ferriss
H
Help Net Security
博客园 - 叶小钗
云风的 BLOG
云风的 BLOG
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
D
DataBreaches.Net
博客园 - 聂微东
A
About on SuperTechFans
大猫的无限游戏
大猫的无限游戏
P
Proofpoint News Feed
Martin Fowler
Martin Fowler
博客园 - 【当耐特】
S
SegmentFault 最新的问题
Blog — PlanetScale
Blog — PlanetScale
酷 壳 – CoolShell
酷 壳 – CoolShell
G
Google Developers Blog
I
InfoQ
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
GbyAI
GbyAI
B
Blog
Engineering at Meta
Engineering at Meta
V
V2EX
Hugging Face - Blog
Hugging Face - 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
test: add provider HTTP live coverage · openclaw/openclaw...
steipete · 2026-04-25 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

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

66

} from "../../test/helpers/plugins/provider-registration.js";

77

import { normalizeTranscriptForMatch } from "../../test/helpers/stt-live-audio.js";

88

import plugin from "./index.js";

9+

import { createGeminiWebSearchProvider } from "./src/gemini-web-search-provider.js";

910
1011

const GOOGLE_API_KEY =

1112

process.env.GEMINI_API_KEY?.trim() || process.env.GOOGLE_API_KEY?.trim() || "";

@@ -63,4 +64,19 @@ describeLive("google plugin live", () => {

6364

expect(normalized).toContain("google");

6465

expect(normalized).toContain("openclaw");

6566

}, 180_000);

67+
68+

it("runs Gemini web search through the registered provider tool", async () => {

69+

const provider = createGeminiWebSearchProvider();

70+

const tool = provider.createTool?.({

71+

config: {},

72+

searchConfig: { gemini: { apiKey: GOOGLE_API_KEY }, cacheTtlMinutes: 0 },

73+

} as never);

74+
75+

const result = await tool?.execute({ query: "OpenClaw GitHub", count: 1 });

76+
77+

expect(result?.provider).toBe("gemini");

78+

expect(typeof result?.content).toBe("string");

79+

expect((result?.content as string).length).toBeGreaterThan(20);

80+

expect(Array.isArray(result?.citations)).toBe(true);

81+

}, 120_000);

6682

});

Original file line numberDiff line numberDiff line change

@@ -0,0 +1,14 @@

1+

import { describe, expect, it } from "vitest";

2+

import { isLiveTestEnabled } from "../../src/agents/live-test-helpers.js";

3+

import { listMicrosoftVoices } from "./speech-provider.js";

4+
5+

const describeLive = isLiveTestEnabled() ? describe : describe.skip;

6+
7+

describeLive("microsoft plugin live", () => {

8+

it("lists Edge speech voices", async () => {

9+

const voices = await listMicrosoftVoices();

10+
11+

expect(voices.length).toBeGreaterThan(100);

12+

expect(voices.some((voice) => voice.id === "en-US-MichelleNeural")).toBe(true);

13+

}, 60_000);

14+

});

Original file line numberDiff line numberDiff line change

@@ -0,0 +1,27 @@

1+

import { describe, expect, it } from "vitest";

2+

import { isLiveTestEnabled } from "../../src/agents/live-test-helpers.js";

3+

import { createMiniMaxWebSearchProvider } from "./src/minimax-web-search-provider.js";

4+
5+

const MINIMAX_SEARCH_KEY =

6+

process.env.MINIMAX_CODE_PLAN_KEY?.trim() ||

7+

process.env.MINIMAX_CODING_API_KEY?.trim() ||

8+

process.env.MINIMAX_API_KEY?.trim() ||

9+

"";

10+

const describeLive =

11+

isLiveTestEnabled() && MINIMAX_SEARCH_KEY.length > 0 ? describe : describe.skip;

12+
13+

describeLive("minimax plugin live", () => {

14+

it("runs MiniMax web search through the provider tool", async () => {

15+

const provider = createMiniMaxWebSearchProvider();

16+

const tool = provider.createTool?.({

17+

config: {},

18+

searchConfig: { apiKey: MINIMAX_SEARCH_KEY, cacheTtlMinutes: 0 },

19+

} as never);

20+
21+

const result = await tool?.execute({ query: "OpenClaw GitHub", count: 1 });

22+
23+

expect(result?.provider).toBe("minimax");

24+

expect(result?.count).toBeGreaterThan(0);

25+

expect(Array.isArray(result?.results)).toBe(true);

26+

}, 120_000);

27+

});

Original file line numberDiff line numberDiff line change

@@ -0,0 +1,24 @@

1+

import { describe, expect, it } from "vitest";

2+

import { isLiveTestEnabled } from "../../src/agents/live-test-helpers.js";

3+

import { createKimiWebSearchProvider } from "./src/kimi-web-search-provider.js";

4+
5+

const KIMI_SEARCH_KEY =

6+

process.env.KIMI_API_KEY?.trim() || process.env.MOONSHOT_API_KEY?.trim() || "";

7+

const describeLive = isLiveTestEnabled() && KIMI_SEARCH_KEY.length > 0 ? describe : describe.skip;

8+
9+

describeLive("moonshot plugin live", () => {

10+

it("runs Kimi web search through the provider tool", async () => {

11+

const provider = createKimiWebSearchProvider();

12+

const tool = provider.createTool?.({

13+

config: {},

14+

searchConfig: { kimi: { apiKey: KIMI_SEARCH_KEY }, cacheTtlMinutes: 0 },

15+

} as never);

16+
17+

const result = await tool?.execute({ query: "OpenClaw GitHub", count: 1 });

18+
19+

expect(result?.provider).toBe("kimi");

20+

expect(typeof result?.content).toBe("string");

21+

expect((result?.content as string).length).toBeGreaterThan(20);

22+

expect(Array.isArray(result?.citations)).toBe(true);

23+

}, 120_000);

24+

});