mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-10 05:14:48 +08:00
### Summary - TavilySearch now stores api_key from component params and injects it into tool calls when runtime inputs omit it. - TavilyExtract and BGPT now follow the same stored api_key behavior. - Canvas decoding now recovers api_key from graph.nodes[].data.form when components[].obj.params.api_key is empty, matching frontend payload behavior without changing frontend data. - Added regression tests for graph form key recovery and stored key injection / caller key precedence. Tests: build.sh --test ./internal/agent/component ./internal/service — all pass. <img width="1476" height="850" alt="image" src="https://github.com/user-attachments/assets/0be31587-c1ba-4f3e-b43a-4fe0fca5a44c" /> <img width="1476" height="850" alt="image" src="https://github.com/user-attachments/assets/e3edd92c-c62e-4db4-abe2-772bdf4fe1b2" />