ragflow/api/apps/sdk
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
..
agent.py Feat: Add http api to create, update, or delete agents. (#7515) 2025-05-12 17:59:53 +08:00
chat.py Fix:Update chat assistant with an empty dataset (#7354) 2025-04-28 15:19:21 +08:00
dataset.py Refa: HTTP API update dataset / test cases / docs (#7564) 2025-05-09 19:17:08 +08:00
dify_retrieval.py Code refactor (#5371) 2025-02-26 15:40:52 +08:00
doc.py Fix:Discrepancy between Document.list_chunks() API documentation and implementation (#7575) 2025-05-12 11:05:32 +08:00
session.py Fix delete duplicate assistant (#6888) 2025-04-09 19:10:08 +08:00