ragflow/sdk/python/ragflow_sdk/modules
Liu An f007c1c772
Fix: Resolve JSON download errors in Document.download() (#8084)
### What problem does this PR solve?

An exception is thrown only when the json file has only two keys, `code`
and `message`. In other cases, response.content is returned normally.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-06-05 18:03:51 +08:00
..
__init__.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
agent.py Feat: add 'delete' for agent's sessions api and unify apis of agent sdk (#5525) 2025-03-03 17:15:16 +08:00
base.py Fix: DataSet.update() now refreshes object data (#8058) 2025-06-05 09:26:19 +08:00
chat.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
chunk.py Improve API Documentation, Standardize Error Handling, and Enhance Comments (#5990) 2025-03-13 19:06:50 +08:00
dataset.py Fix: DataSet.update() now refreshes object data (#8058) 2025-06-05 09:26:19 +08:00
document.py Fix: Resolve JSON download errors in Document.download() (#8084) 2025-06-05 18:03:51 +08:00
session.py Don't use ',' (U+FF0C) but ', ' (U+2C U+20) (#8063) 2025-06-05 09:29:07 +08:00