Skip to content

Commit 7a519d4

Browse files
authored
fix(config): add missing websearch_firecrawl_key to DEFAULT_CONFIG (#8012)
The websearch_firecrawl_key config key was added in PR #7764 (Firecrawl web search provider) but was missing from DEFAULT_CONFIG in default.py. Because AstrBotConfig.check_config_integrity() removes keys that exist in the user's cmd_config.json but are absent from DEFAULT_CONFIG, the firecrawl API key is silently deleted on every container restart. Fixes: unreported issue (config key removed on restart)
1 parent 44e8c00 commit 7a519d4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

astrbot/core/config/default.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@
111111
"websearch_bocha_key": [],
112112
"websearch_brave_key": [],
113113
"websearch_baidu_app_builder_key": "",
114+
"websearch_firecrawl_key": [],
114115
"web_search_link": False,
115116
"display_reasoning_text": False,
116117
"identifier": False,

0 commit comments

Comments
 (0)