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

推荐订阅源

G
Google Developers Blog
人人都是产品经理
人人都是产品经理
腾讯CDC
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
WordPress大学
WordPress大学
S
SegmentFault 最新的问题
小众软件
小众软件
B
Blog
博客园 - 叶小钗
Microsoft Azure Blog
Microsoft Azure Blog
Apple Machine Learning Research
Apple Machine Learning Research
A
About on SuperTechFans
J
Java Code Geeks
Blog — PlanetScale
Blog — PlanetScale
博客园 - 司徒正美
博客园 - 【当耐特】
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Recent Announcements
Recent Announcements
宝玉的分享
宝玉的分享
Martin Fowler
Martin Fowler
Hugging Face - Blog
Hugging Face - Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Last Week in AI
Last Week in AI
V
V2EX

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: log google meet realtime models · openclaw/openclaw@...
steipete · 2026-05-04 · via Recent Commits to openclaw:main

@@ -409,6 +409,70 @@ export function buildGoogleMeetSpeakExactUserMessage(text: string): string {

409409

].join("\n");

410410

}

411411412+

function readLogString(value: unknown): string | undefined {

413+

return typeof value === "string" && value.trim() ? value.trim() : undefined;

414+

}

415+416+

function formatLogValue(value: string | undefined): string {

417+

const normalized = value?.replace(/\s+/g, "_").slice(0, 180);

418+

return normalized || "unknown";

419+

}

420+421+

function resolveProviderModelForLog(params: {

422+

provider: { defaultModel?: string };

423+

providerConfig: RealtimeVoiceProviderConfig | RealtimeTranscriptionProviderConfig;

424+

fallbackModel?: string;

425+

}): string {

426+

return (

427+

readLogString(params.providerConfig.model) ??

428+

readLogString(params.providerConfig.modelId) ??

429+

readLogString(params.fallbackModel) ??

430+

readLogString(params.provider.defaultModel) ??

431+

"provider-default"

432+

);

433+

}

434+435+

export function formatGoogleMeetRealtimeVoiceModelLog(params: {

436+

strategy: string;

437+

provider: RealtimeVoiceProviderPlugin;

438+

providerConfig: RealtimeVoiceProviderConfig;

439+

fallbackModel?: string;

440+

audioFormat: GoogleMeetConfig["chrome"]["audioFormat"];

441+

}): string {

442+

return [

443+

`[google-meet] realtime voice bridge starting: strategy=${formatLogValue(params.strategy)}`,

444+

`provider=${formatLogValue(params.provider.id)}`,

445+

`model=${formatLogValue(

446+

resolveProviderModelForLog({

447+

provider: params.provider,

448+

providerConfig: params.providerConfig,

449+

fallbackModel: params.fallbackModel,

450+

}),

451+

)}`,

452+

`audioFormat=${formatLogValue(params.audioFormat)}`,

453+

].join(" ");

454+

}

455+456+

export function formatGoogleMeetAgentAudioModelLog(params: {

457+

provider: RealtimeTranscriptionProviderPlugin;

458+

providerConfig: RealtimeTranscriptionProviderConfig;

459+

audioFormat: GoogleMeetConfig["chrome"]["audioFormat"];

460+

}): string {

461+

return [

462+

`[google-meet] agent audio bridge starting: transcriptionProvider=${formatLogValue(

463+

params.provider.id,

464+

)}`,

465+

`transcriptionModel=${formatLogValue(

466+

resolveProviderModelForLog({

467+

provider: params.provider,

468+

providerConfig: params.providerConfig,

469+

}),

470+

)}`,

471+

"tts=telephony",

472+

`audioFormat=${formatLogValue(params.audioFormat)}`,

473+

].join(" ");

474+

}

475+412476

function normalizeGoogleMeetTtsPromptText(text: string | undefined): string | undefined {

413477

const trimmed = text?.trim();

414478

if (!trimmed) {

@@ -464,6 +528,13 @@ export async function startCommandAgentAudioBridge(params: {

464528

fullConfig: params.fullConfig,

465529

providers: params.providers,

466530

});

531+

params.logger.info(

532+

formatGoogleMeetAgentAudioModelLog({

533+

provider: resolved.provider,

534+

providerConfig: resolved.providerConfig,

535+

audioFormat: params.config.chrome.audioFormat,

536+

}),

537+

);

467538468539

const terminateProcess = (proc: BridgeProcess, signal: NodeJS.Signals = "SIGTERM") => {

469540

if (proc.killed && signal !== "SIGKILL") {

@@ -956,6 +1027,15 @@ export async function startCommandRealtimeAudioBridge(params: {

9561027

providers: params.providers,

9571028

});

9581029

const strategy = params.config.realtime.strategy;

1030+

params.logger.info(

1031+

formatGoogleMeetRealtimeVoiceModelLog({

1032+

strategy,

1033+

provider: resolved.provider,

1034+

providerConfig: resolved.providerConfig,

1035+

fallbackModel: params.config.realtime.model,

1036+

audioFormat: params.config.chrome.audioFormat,

1037+

}),

1038+

);

9591039

const transcript: GoogleMeetRealtimeTranscriptEntry[] = [];

9601040

const realtimeEvents: GoogleMeetRealtimeEventEntry[] = [];

9611041

let agentConsultActive = false;