mirror of
https://github.com/openclaw/nix-openclaw.git
synced 2026-07-25 21:55:39 -04:00
feat: Add providers.brave.apiKeyFile for web_search support #21
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jack-work on GitHub (Feb 1, 2026).
Summary
Moltbot's
web_searchtool requires a Brave Search API key. Currently there's no native Nix option to inject this secret, requiring users to manually set theBRAVE_API_KEYenvironment variable.Proposal
Add
providers.brave.apiKeyFileoption (following the existingproviders.anthropic.apiKeyFilepattern) that:BRAVE_API_KEYin the gateway wrapper scriptweb_searchwithout manual env configurationExample usage
Related