mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-11 06:05:45 +08:00
## Summary - register the Go `DuckDuckGo` canvas component and restore its dynamic input form metadata - align the Go component input/output surface with the current canvas usage for `query`, `channel`, and `top_n` - fix DuckDuckGo news search in Go by fetching the required `vqd` token before calling `news.js`, and add targeted regression tests ## Testing Passed: - `bash build.sh --test ./internal/agent/tool/... -run 'DuckDuckGo'` - `bash build.sh --test ./internal/agent/component/... -run 'DuckDuckGo|TestVerifyRegistration_P1'` - `bash build.sh --test ./internal/agent/component/... -run 'DuckDuckGo'` Not run: - frontend tests - frontend build - full Go test suite <img width="1776" height="1092" alt="image" src="https://github.com/user-attachments/assets/9f3f8e4b-f6b4-4915-b96c-3c5b8c7b8b30" />