mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-29 20:08:09 +00:00
Phase 2 P2-7 (partial, Categories E+F): the two highest-traffic factory functions accept optional app_config kw-only parameter. When make_lead_agent is called with explicit app_config (client / Gateway path), config flows through to the model factory and tool registration without the functions consulting AppConfig.current(). Fallback path (app_config=None → AppConfig.current()) preserved so LangGraph Server registration and legacy tests keep working. Remaining community tool factories, memory subsystem, skills/sandbox helpers are similar mechanical migrations but were out of scope for this sitting.