ProjectTech4DevAI / ProjectTech4DevAI/kaapi-backend
Error Handling: Improve error visibility
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 18
- Forks
- 10
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 14
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the collection creation and file-upload error handling that produces “OpenAI document processing error: 1/10 files completed.” Trace how the upstream processing error is received and surfaced. Done means the downstream response includes OpenAI’s specific error message instead of only the generic progress message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100