mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: add manutic/nomic-embed-code model for Ollama compatibility
- Add manutic/nomic-embed-code to Ollama and OpenAI Compatible embedding model profiles - Provides same configuration as nomic-embed-code (3584 dimensions, 0.15 score threshold, code search query prefix) - Resolves issue where users cannot use nomic-embed-code with Ollama since only community version exists - Enables flexible embedding model selection for code indexing with Ollama Fixes #5687
This commit is contained in:
parent
a163053430
commit
befcd2b5ef
1 changed files with 5 additions and 0 deletions
|
|
@ -31,6 +31,11 @@ export const EMBEDDING_MODEL_PROFILES: EmbeddingModelProfiles = {
|
|||
scoreThreshold: 0.15,
|
||||
queryPrefix: "Represent this query for searching relevant code: ",
|
||||
},
|
||||
"manutic/nomic-embed-code": {
|
||||
dimension: 3584,
|
||||
scoreThreshold: 0.15,
|
||||
queryPrefix: "Represent this query for searching relevant code: ",
|
||||
},
|
||||
"mxbai-embed-large": { dimension: 1024, scoreThreshold: 0.4 },
|
||||
"all-minilm": { dimension: 384, scoreThreshold: 0.4 },
|
||||
// Add default Ollama model if applicable, e.g.:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue