ragflow/api/db/services
caiming100 a20439bf81
fix: add exception handling for get_by_id method (#6861)
### What problem does this PR solve?

Fixes #6548 

Add exception handling to prevent exceptions from propagating back to
the web, which may lead to failure in displaying conversation content.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [ ] New Feature (non-breaking change which adds functionality)
- [ ] Documentation Update
- [ ] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):

Co-authored-by: cm <caiming@sict.ac.cn>
2025-04-08 16:06:57 +08:00
..
__init__.py
api_service.py Feat(api): Add dsl parameters to control whether dsl fields are included (#5769) 2025-03-07 16:58:00 +08:00
canvas_service.py Feat: add OpenAI compatible API for agent (#6329) 2025-04-03 16:51:37 +08:00
common_service.py fix: add exception handling for get_by_id method (#6861) 2025-04-08 16:06:57 +08:00
conversation_service.py Fix issue of ask API. (#5400) 2025-02-26 19:45:22 +08:00
dialog_service.py Refa: copywriting refinement. (#6779) 2025-04-03 11:38:02 +08:00
document_service.py Fix knowledge_graph_kwd on infinity. Close #6476 and #6624 (#6651) 2025-03-28 22:05:40 +08:00
file2document_service.py
file_service.py Improve API Documentation, Standardize Error Handling, and Enhance Comments (#5990) 2025-03-13 19:06:50 +08:00
knowledgebase_service.py Fix: fix document concurrent upload issue (#6095) 2025-03-14 16:31:44 +08:00
langfuse_service.py Feat: add Langfuse APIs (#6460) 2025-03-24 18:25:43 +08:00
llm_service.py Refa: change LLM chat output from full to delta (incremental) (#6534) 2025-03-26 19:33:14 +08:00
task_service.py Introduced task priority (#6118) 2025-03-14 23:43:46 +08:00
user_canvas_version.py Feat: support agent version history. (#6130) 2025-03-19 15:22:53 +08:00
user_service.py Improve API Documentation, Standardize Error Handling, and Enhance Comments (#5990) 2025-03-13 19:06:50 +08:00