Repository navigation
Move RAG to harrier-oss-v1-0.6b and clear the filelock CVEs - #159
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes the last open items of the 4.0.0 upgrade.
Embedding model
RAG embeds with
microsoft/harrier-oss-v1-0.6b(MIT licence, 1,024 dimensions, 32K-token context, 69.0 on Multilingual MTEB v2 per its model card) in place of all-MiniLM-L6-v2 (384 dimensions, 256 tokens).engines.yaml'sembedding:block is the only place the model is set, with a pinned Hugging Face revision.get_embedding_config()validates it. TheEMBEDDING_MODELoverride is removed: model, dimension and query instruction must change together.web_search_queryinstruction; documents carry none, as the model card specifies.engines.yaml(dimension, missing prompt) raisesConfigurationError.init_collectionreturns False on a mismatch;upsert_pointsandsearchraise.ragbot db initchecks it, andragbot db statusreports it.0004_embedding_dimensions.sqlmoveschunks.embeddingandentities.embeddingtovector(1024). It clearschunksanddocuments(derived data; re-index rebuilds them) and entity embeddings (entities are kept). The runner executes every migration on every start, so each step is guarded by the column's current dimension.ragbot-hf-cachevolume.filelock
LiteLLM floor
1.109.0rc1, the first LiteLLM that accepts filelock 4; filelock floor 4.2.9.pip-audit: no known vulnerabilities (was 13 CVEs). 1.108.1, published a day later, is an LTS backport of fixes already on LiteLLM's main branch, none of them security fixes (BerriAI/litellm#50136). Details indocs/security/dependabot-triage-2026-11.md. transformers floor raised to 5.22.2, the latest.Verification
make test-fast: 1125 passed, 13 skipped (live-database tests).pip checkclean; every requirements floor is at the latest PyPI release. Web packages are current except TypeScript 7, which typescript-eslint (8.72.1 and its canary) still caps below 6.1.After merging:
docker compose up -d --build, thenragbot index --workspace <name> --forcefor each workspace.🤖 Generated with Claude Code