Move Firecrawl API key from top-level config into Agents.Tools

Firecrawl is a tool used by agents (tracker mapping, third-party
assessor), so its configuration belongs under AgentsConfig rather than
as a standalone Config field. Adds AgentToolsConfig to hold agent tool
credentials and updates all config propagation consumers.

Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
Émile Ré
2026-05-19 12:32:41 +04:00
parent c4147e6801
commit 2040931405
10 changed files with 28 additions and 26 deletions

View File

@@ -49,6 +49,6 @@ func (impl *Implm) buildTrackerMappingConfig(
return cookiebanner.TrackerMappingConfig{
LLMClient: llmClient,
Model: agentCfg.ModelName,
FirecrawlAPIKey: impl.cfg.Firecrawl.APIKey,
FirecrawlAPIKey: impl.cfg.Agents.Tools.FirecrawlAPIKey,
}, nil
}