标签: Python

RFC: Replace Peewee with SQLModel

RFC: Replace Peewee with SQLModel

在 RAGFlow 项目 Python 后端的开发/维护过程中,团队发现基于 Peewee 的 ORM 架构在以下场景中频繁触发连接问题:批量插入时会嵌套 @DB.connection_context() 装饰器(覆盖 api/db/services/ 下约 215 处调用点);手动调用的 db.c

Incorporate More Meaningful/Useful Diagnostics

Incorporate More Meaningful/Useful Diagnostics

用户在运行 Kohya SS 进行 LoRA 训练或 DreamBooth 训练时(通过 gui.bat 或 Docker 启动),训练过程失败后 GUI 界面仅显示通用错误提示,无法通过自然语言理解具体是何种错误(如 CUDA 内存不足、权限错误、数据加载问题等)。用户感到沮丧,因为日志仅输出 P

`ActionOpenPage` mismatched API response

`ActionOpenPage` mismatched API response

用户在使用 OpenAI Python SDK(如 v1.107.1、v2.9.0)通过 Batch API 或同步调用 `responses.create`(模型含 `web_search_preview` 或类似深度搜索功能)时,触发 `ActionOpenPage` 类型的数据校验失败。同时可