Files
ragflow/internal/handler
Hz_ c4166a91e0 fix(go-agent): align agent debug input form with Python (#16654)
## Summary

- derive Go Agent debug input forms from prompt variable references
instead of Agent meta fields
- seed `sys.*` debug params into `CanvasState.Sys` so single-component
debug resolves prompt variables like Python
- restore Agent test-run parity for form rendering and debug execution

## Tests

- `go test ./internal/agent/component -run
'TestAgent_(GetInputForm_UsesPromptReferences|GetInputForm_DeduplicatesPromptReferences|Meta_DefaultsToEmpty|Reset_NoTools)$'`
- `go test ./internal/handler -run
'Test(DebugComponent_SeedsSysInputsIntoCanvasState|DebugComponent_HappyPath_Begin|GetComponentInputForm_HappyPath)$'`

AFTER:
<img width="669" height="456" alt="image"
src="https://github.com/user-attachments/assets/4fd86559-aafc-4027-91ae-6e666137ee1b"
/>
2026-07-06 13:29:10 +08:00
..
2026-06-24 16:50:40 +08:00
2026-07-03 17:00:43 +08:00
2026-07-03 17:00:43 +08:00
2026-07-06 10:58:40 +08:00
2026-06-03 17:35:36 +08:00
2026-07-02 09:45:01 +08:00
2026-06-12 20:49:34 +08:00
2026-06-26 13:51:56 +08:00
2026-07-03 17:00:43 +08:00