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

推荐订阅源

D
DataBreaches.Net
J
Java Code Geeks
有赞技术团队
有赞技术团队
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
T
The Blog of Author Tim Ferriss
Apple Machine Learning Research
Apple Machine Learning Research
量子位
D
Docker
V
Visual Studio Blog
博客园 - 司徒正美
Martin Fowler
Martin Fowler
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学
U
Unit 42
M
MIT News - Artificial intelligence
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
G
Google Developers Blog
Engineering at Meta
Engineering at Meta
V
V2EX
大猫的无限游戏
大猫的无限游戏
雷峰网
雷峰网
Vercel News
Vercel News
C
Check Point 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
fix(ui): populate realtime talk provider and transport op...
shushushv · 2026-06-17 · via Recent Commits to openclaw:main

@@ -1510,6 +1510,7 @@ describe("chat voice controls", () => {

15101510

"medium",

15111511

"high",

15121512

]);

1513+

expect(getTalkSelectOptionValues(container, "provider")).toEqual(["", "openai", "google"]);

15131514

expect(container.textContent).toContain("Sensitivity");

15141515

expect(container.textContent).toContain("Advanced");

15151516

expect(container.textContent).toContain("Pause before send");

@@ -1555,6 +1556,110 @@ describe("chat voice controls", () => {

15551556

]);

15561557

});

155715581559+

it("renders compatible catalog providers and limits transports to the selected provider", () => {

1560+

const onRealtimeTalkOptionsChange = vi.fn();

1561+

const container = renderChatView({

1562+

realtimeTalkOptionsOpen: true,

1563+

realtimeTalkCatalogProviders: [

1564+

{

1565+

id: "openai",

1566+

label: "OpenAI",

1567+

configured: true,

1568+

transports: ["webrtc", "provider-websocket"],

1569+

supportsBrowserSession: true,

1570+

},

1571+

{

1572+

id: "plugin-realtime",

1573+

label: "Plugin realtime",

1574+

configured: true,

1575+

transports: ["gateway-relay"],

1576+

},

1577+

{

1578+

id: "plugin-default-relay",

1579+

label: "Plugin default relay",

1580+

configured: true,

1581+

},

1582+

{

1583+

id: "plugin-websocket",

1584+

label: "Unsupported plugin WebSocket",

1585+

configured: true,

1586+

transports: ["provider-websocket"],

1587+

supportsBrowserSession: true,

1588+

},

1589+

{

1590+

id: "relay-only",

1591+

label: "No browser session",

1592+

configured: true,

1593+

transports: ["webrtc"],

1594+

},

1595+

{

1596+

id: "unconfigured",

1597+

label: "Unconfigured provider",

1598+

configured: false,

1599+

transports: ["gateway-relay"],

1600+

},

1601+

],

1602+

realtimeTalkOptions: {

1603+

provider: "openai",

1604+

model: "",

1605+

voice: "",

1606+

transport: "webrtc",

1607+

vadThreshold: "",

1608+

silenceDurationMs: "",

1609+

prefixPaddingMs: "",

1610+

reasoningEffort: "",

1611+

},

1612+

onRealtimeTalkOptionsChange,

1613+

});

1614+1615+

expect(getTalkSelectOptionValues(container, "provider")).toEqual([

1616+

"",

1617+

"openai",

1618+

"plugin-realtime",

1619+

"plugin-default-relay",

1620+

]);

1621+

expect(getTalkSelectOptionValues(container, "transport")).toEqual(["", "webrtc"]);

1622+1623+

clickTalkSelectOption(container, "provider", "plugin-realtime");

1624+1625+

expect(onRealtimeTalkOptionsChange).toHaveBeenCalledWith({

1626+

provider: "plugin-realtime",

1627+

transport: "",

1628+

});

1629+

});

1630+1631+

it("keeps the Google provider WebSocket transport available", () => {

1632+

const container = renderChatView({

1633+

realtimeTalkOptionsOpen: true,

1634+

realtimeTalkCatalogProviders: [

1635+

{

1636+

id: "google",

1637+

label: "Google",

1638+

configured: true,

1639+

transports: ["provider-websocket", "gateway-relay"],

1640+

supportsBrowserSession: true,

1641+

},

1642+

],

1643+

realtimeTalkOptions: {

1644+

provider: "google",

1645+

model: "",

1646+

voice: "",

1647+

transport: "provider-websocket",

1648+

vadThreshold: "",

1649+

silenceDurationMs: "",

1650+

prefixPaddingMs: "",

1651+

reasoningEffort: "",

1652+

},

1653+

onRealtimeTalkOptionsChange: () => undefined,

1654+

});

1655+1656+

expect(getTalkSelectOptionValues(container, "transport")).toEqual([

1657+

"",

1658+

"gateway-relay",

1659+

"provider-websocket",

1660+

]);

1661+

});

1662+15581663

it("renders composer and Talk labels from the active locale", async () => {

15591664

await i18n.setLocale("zh-CN");

15601665

const container = renderChatView();