Add Brave Search as primary web search with NanoGPT fallback
Deploy to NAS / deploy (push) Has been cancelled

- Brave Search API is now primary (if BRAVE_API_KEY set)
- NanoGPT web search is fallback if Brave fails
- Add BRAVE_API_KEY to .env, docker-compose, and deploy workflow
- Tool calling still works for AI to request searches
This commit is contained in:
2026-03-09 16:51:43 -04:00
parent a73a8901f2
commit 7ff95a3d7f
3 changed files with 86 additions and 16 deletions
+1
View File
@@ -43,6 +43,7 @@ jobs:
CLIENT_ID=${{ secrets.DISCORD_CLIENT_ID }}
NANOGPT_API_KEY=${{ secrets.NANOGPT_API_KEY }}
ZAI_API_KEY=${{ secrets.ZAI_API_KEY }}
BRAVE_API_KEY=${{ secrets.BRAVE_API_KEY }}
NANO_MODEL=${{ secrets.NANO_MODEL }}
NODE_ENV=production
EOF