ragflow/agent
Yongteng Lei 7a344a32f9
Fix: code exec component vulnerability and add support for nested list and dict object (#11504)
### What problem does this PR solve?

Fix code exec component vulnerability and add support for nested list
and dict object.

<img width="1491" height="952" alt="image"
src="https://github.com/user-attachments/assets/ec2de4e3-0919-413d-abe6-d19431292f14"
/>

Return a single value:

<img width="1156" height="719" alt="image"
src="https://github.com/user-attachments/assets/baa35caa-e27c-4064-a9f9-4c0af9a3d5b8"
/>


### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [x] New Feature (non-breaking change which adds functionality)
2025-11-25 14:35:41 +08:00
..
component Feat: API supports toc_enhance. (#11437) 2025-11-21 14:51:58 +08:00
templates chore(template): introducing variable aggregator to customer service template (#11352) 2025-11-19 12:28:06 +08:00
test Move api.settings to common.settings (#11036) 2025-11-06 09:36:38 +08:00
tools Fix: code exec component vulnerability and add support for nested list and dict object (#11504) 2025-11-25 14:35:41 +08:00
__init__.py
canvas.py Fix: code exec component vulnerability and add support for nested list and dict object (#11504) 2025-11-25 14:35:41 +08:00
settings.py