test: tighten brave missing key assertion · openclaw/openclaw@06dedb7
shakkernerd
·
2026-05-11
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -102,7 +102,8 @@ describe("brave web search provider", () => {
|
102 | 102 | |
103 | 103 | expect(result).toMatchObject({ |
104 | 104 | error: "missing_brave_api_key", |
105 | | -message: expect.stringContaining("use web_fetch for a specific URL or the browser tool"), |
| 105 | +message: |
| 106 | +"web_search (brave) needs a Brave Search API key. Run `openclaw configure --section web` to store it, or set BRAVE_API_KEY in the Gateway environment. If you do not want to configure a search API key, use web_fetch for a specific URL or the browser tool for interactive pages.", |
106 | 107 | }); |
107 | 108 | }); |
108 | 109 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。