feat: brave search llm context

This commit is contained in:
Timothy Jaeryang Baek
2026-05-09 06:34:25 +09:00
parent 1baf73bdd5
commit 6700f7bb72
6 changed files with 127 additions and 1 deletions
+6
View File
@@ -3345,6 +3345,12 @@ BRAVE_SEARCH_API_KEY = PersistentConfig(
os.getenv('BRAVE_SEARCH_API_KEY', ''),
)
BRAVE_SEARCH_CONTEXT_TOKENS = PersistentConfig(
'BRAVE_SEARCH_CONTEXT_TOKENS',
'rag.web.search.brave_search_context_tokens',
int(os.getenv('BRAVE_SEARCH_CONTEXT_TOKENS', '8192')),
)
KAGI_SEARCH_API_KEY = PersistentConfig(
'KAGI_SEARCH_API_KEY',
'rag.web.search.kagi_search_api_key',