Skip to content

Conversation

@enitrat
Copy link
Collaborator

@enitrat enitrat commented Oct 16, 2025

Ensure the ingester Docker container exits automatically upon completion by modifying the script's exit behavior and updating compose commands.

The ingester script previously did not explicitly call process.exit() and lacked robust error handling for resource cleanup, leading to the container hanging. This PR adds a finally block to ensure vectorStore.close() is called and process.exit() is invoked with the correct status code, along with documenting the necessary docker compose flags for proper container termination. Additionally, the embedding model selection now gracefully falls back from Gemini to OpenAI if one is unavailable.


Open in Cursor Open in Web

@cursor
Copy link

cursor bot commented Oct 16, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

cursoragent and others added 2 commits October 17, 2025 10:47
Co-authored-by: msaug <msaug@protonmail.com>
@enitrat enitrat force-pushed the cursor/fix-ingester-not-exiting-automatically-9eeb branch from dfde11d to 3d64c6c Compare October 17, 2025 02:47
@enitrat
Copy link
Collaborator Author

enitrat commented Oct 17, 2025

see #81

@enitrat enitrat closed this Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants