mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
test: tighten brave missing key assertion
This commit is contained in:
@@ -102,7 +102,8 @@ describe("brave web search provider", () => {
|
||||
|
||||
expect(result).toMatchObject({
|
||||
error: "missing_brave_api_key",
|
||||
message: expect.stringContaining("use web_fetch for a specific URL or the browser tool"),
|
||||
message:
|
||||
"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.",
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user