Add Firecrawl web search tool for tracker mapping
Firecrawl provides higher quality search results than SearXNG. When configured (firecrawl-endpoint + firecrawl-api-key), the tracker-mapping agent and search toolset prefer it over the SearXNG backend. Also improves the tracker identification prompt with multi-strategy search queries that leverage domain signals and adapt to tracker type. Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
@@ -45,8 +45,10 @@ func (impl *Implm) buildTrackerMappingConfig(
|
||||
}
|
||||
|
||||
return cookiebanner.TrackerMappingConfig{
|
||||
LLMClient: llmClient,
|
||||
Model: agentCfg.ModelName,
|
||||
SearchEndpoint: impl.cfg.SearchEndpoint,
|
||||
LLMClient: llmClient,
|
||||
Model: agentCfg.ModelName,
|
||||
SearchEndpoint: impl.cfg.SearchEndpoint,
|
||||
FirecrawlEndpoint: impl.cfg.FirecrawlEndpoint,
|
||||
FirecrawlAPIKey: impl.cfg.FirecrawlAPIKey,
|
||||
}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user