ProjectTech4DevAI / ProjectTech4DevAI/kaapi-backend

Error Handling: Improve error visibility

未关闭 适合新手
#889 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug
主要语言
Python
星标
18
派生
10
平均合并
2 天 20 小时
30 天内合并 PR
14

描述

Is your feature request related to a problem?
When creating a collection and uploading files, OpenAI returns an error. However, Kaapi only displays a generic message, making it difficult to debug the issue.

OpenAI document processing error: 1/10 files completed

Describe the solution you'd like

  • Return the specific error message from OpenAI instead of a generic one to improve error visibility for easier debugging downstream.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先定位生成“OpenAI document processing error: 1/10 files completed.”的集合创建和文件上传错误处理逻辑。跟踪上游处理错误是如何被接收并呈现的。完成的标准是,下游响应包含 OpenAI 的具体错误消息,而不仅仅是通用的进度消息。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
backend
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
冷清
描述清晰度
基本清楚
新手友好度
68/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。