adding webSearch to librechat.yaml causes 'unrecognized key(s)' error #7611
-
I'm on my fourth day of trying to resolve this and have reached the point of asking for help in the knowledge I've probably done something stupid to cause the problem. My librechat.yaml file works and gives me all the azure openai models I've included in it. If i add the webSearch information (even just a straight c&p from the documenation) I get an 'unrecognized keys' error in the logs and nothing in the yaml loads. If I add web_search as a capability under agents I get "Invalid enum value". Commenting webSearch out in both these spots allows the file to be implemented as expected. Things I've tried that didn't help:
Clearly I'm missing something basic, but I can't put my finger on it. Attaching my yaml in txt format librechatfile.txt |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hi @iiainb First off, if you're trying to use web search, make sure you update (assuming docker): Updating Instructions (docker): You can remove the # Search Provider
SERPER_API_KEY=your_serper_api_key
# Scraper
FIRECRAWL_API_KEY=your_firecrawl_api_key
# Reranker (only one of these)
JINA_API_KEY=your_jina_api_key
# or
COHERE_API_KEY=your_cohere_api_key |
Beta Was this translation helpful? Give feedback.
-
I've found a solution to this. My local npm version was behind and my deploy script was skipping over it. Thanks for the suggestions. |
Beta Was this translation helpful? Give feedback.
-
I am getting an "unrecognized key(s) in object: 'webSearch'" error when I start librechat using docker compose while trying to set up web search. I can't figure out how to fix it in my case (using a docker image). I have already checked I used the latest librechat version. |
Beta Was this translation helpful? Give feedback.
I've found a solution to this. My local npm version was behind and my deploy script was skipping over it. Thanks for the suggestions.