mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-25 23:47:20 +00:00
!feat(plugins): add web fetch provider boundary (#59465)
* feat(plugins): add web fetch provider boundary * feat(plugins): add web fetch provider modules * refactor(web-fetch): remove remaining core firecrawl fetch config * fix(web-fetch): address review follow-ups * fix(web-fetch): harden provider runtime boundaries * fix(web-fetch): restore firecrawl compare helper * fix(web-fetch): restore env-based provider autodetect * fix(web-fetch): tighten provider hardening * fix(web-fetch): restore fetch autodetect and compat args * chore(changelog): note firecrawl fetch config break
This commit is contained in:
@@ -13,9 +13,20 @@
|
||||
"webSearch.baseUrl": {
|
||||
"label": "Firecrawl Search Base URL",
|
||||
"help": "Firecrawl Search base URL override."
|
||||
},
|
||||
"webFetch.apiKey": {
|
||||
"label": "Firecrawl Fetch API Key",
|
||||
"help": "Firecrawl API key for web fetch fallback (fallback: FIRECRAWL_API_KEY env var).",
|
||||
"sensitive": true,
|
||||
"placeholder": "fc-..."
|
||||
},
|
||||
"webFetch.baseUrl": {
|
||||
"label": "Firecrawl Fetch Base URL",
|
||||
"help": "Firecrawl Fetch base URL override."
|
||||
}
|
||||
},
|
||||
"contracts": {
|
||||
"webFetchProviders": ["firecrawl"],
|
||||
"webSearchProviders": ["firecrawl"],
|
||||
"tools": ["firecrawl_search", "firecrawl_scrape"]
|
||||
},
|
||||
@@ -34,6 +45,27 @@
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"webFetch": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"apiKey": {
|
||||
"type": ["string", "object"]
|
||||
},
|
||||
"baseUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"onlyMainContent": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"maxAgeMs": {
|
||||
"type": "number"
|
||||
},
|
||||
"timeoutSeconds": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user