-
Notifications
You must be signed in to change notification settings - Fork 10
fix(collections): Use correct file batch ID #1073
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
vprashrex
wants to merge
13
commits into
main
Choose a base branch
from
fix/openai-vector-store-batch-id
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
aea2dfa
fix(collections): Use file batch ID from create() when listing failed…
vprashrex 6ca053f
fix(tests): Simplify exception handling in OpenAI vector store tests
vprashrex 8c02d57
fix(upload): Replace pre-transform validation with upload validation …
vprashrex d391ad2
fix(openai): Enhance OpenAI vector store handling with improved batch…
vprashrex 3f6fc81
Merge branch 'main' into fix/openai-vector-store-batch-id
vprashrex 8966baa
test: Enhance OpenAI vector store tests with batch timeout handling a…
vprashrex a86653c
refactor(tests): Simplify validate_document_content call in PDF valid…
vprashrex 50ce4c9
fix(openai): Adjust OpenAI timeout settings and improve batch polling…
vprashrex 9fdb45c
fix(collections): Remove unused batch retry logging and update test a…
vprashrex 997739f
Merge branch 'main' into fix/openai-vector-store-batch-id
vprashrex 80c7180
fix(openai): Implement tenacity for batch create+index retries and im…
vprashrex 09b8196
feat(documents): Add document validation logic and helper functions f…
vprashrex 137511d
Merge branch 'main' into fix/openai-vector-store-batch-id
vprashrex File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: ProjectTech4DevAI/kaapi-backend
Length of output: 22815
Centralize OpenAI file-batch status values.
"in_progress"and"completed"are hard-coded directly in the CRUD path. Extract batch-status constants or an enum here and use the same values in any tests/callers that depend on this protocol state.🤖 Prompt for AI Agents
Source: Coding guidelines