Skip to content

feat(dataflows): add Firecrawl web-search news vendor - #1221

Open
rakshith48 wants to merge 3 commits into
TauricResearch:mainfrom
rakshith48:rakshith48/firecrawl-news-vendor
Open

feat(dataflows): add Firecrawl web-search news vendor#1221
rakshith48 wants to merge 3 commits into
TauricResearch:mainfrom
rakshith48:rakshith48/firecrawl-news-vendor

Conversation

@rakshith48

Copy link
Copy Markdown

Summary

  • add an optional Firecrawl vendor for ticker and global market news
  • constrain searches to the requested date window to preserve historical-run integrity
  • let empty Yahoo and Firecrawl news results continue through configured vendor chains
  • retry documented transient Firecrawl responses and reject malformed response envelopes
  • document configuration, credentials, and an executable usage example

Configuration

Set FIRECRAWL_API_KEY, then configure the vendor per news tool, for example:

config["tool_vendors"]["get_news"] = "yfinance,firecrawl"
config["tool_vendors"]["get_global_news"] = "yfinance,firecrawl"

Firecrawl remains optional and is not selected by default.

Validation

  • pytest -q — 604 passed, 2 skipped, 69 subtests passed
  • ruff check . — passed

Add optional Firecrawl-backed ticker and global news searches with date-window filtering, routing integration, configuration documentation, and unit coverage.
Represent empty news windows explicitly so configured fallback vendors can run, while preserving the primary vendor message when every source is empty. Keep structured-agent tests isolated from live news providers.
Retry documented transient HTTP failures with bounded backoff, validate the response envelope before treating it as news data, and make the configuration example directly runnable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant