ragflow/api
Song Fuchang 992398bca3
Feat: Add http api to create, update, or delete agents. (#7515)
### What problem does this PR solve?

Hello, we are using ragflow as a backend service, so we need to manage
agents from our own frontend. So adding these http APIs to manage
agents.

The code logic is copied and modified from the `rm` and `save` methods
in `api/apps/canvas_app.py`.

btw, I found that the `save` method in `canvas_app.py` actually allows
to modify an agent to an existing title, so I kept the behavior in the
http api. I'm not sure if this is intentional.

### Type of change

- [ ] Bug Fix (non-breaking change which fixes an issue)
- [x] New Feature (non-breaking change which adds functionality)
- [x] Documentation Update
- [ ] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):
2025-05-12 17:59:53 +08:00
..
apps Feat: Add http api to create, update, or delete agents. (#7515) 2025-05-12 17:59:53 +08:00
db Perf: Increase database connection pool size (#7559) 2025-05-09 17:52:03 +08:00
utils Refa: HTTP API update dataset / test cases / docs (#7564) 2025-05-09 19:17:08 +08:00
__init__.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
constants.py Add more web test cases (#3702) 2024-11-28 15:46:35 +08:00
ragflow_server.py Fix update_progress issue (#6992) 2025-04-14 10:23:13 +08:00
settings.py refa: Optimize create dataset validation (#7451) 2025-05-06 17:38:06 +08:00
validation.py Fix errors detected by Ruff (#3918) 2024-12-08 14:21:12 +08:00
versions.py Fix VERSION 2024-12-07 16:56:34 +08:00