Skip to content

feat(mistralrs): add local embedding support#875

Merged
starpit merged 1 commit intoIBM:mainfrom
starpit:mistralrs-embed-support
Feb 18, 2026
Merged

feat(mistralrs): add local embedding support#875
starpit merged 1 commit intoIBM:mainfrom
starpit:mistralrs-embed-support

Conversation

@starpit
Copy link
Copy Markdown
Member

@starpit starpit commented Feb 18, 2026

Summary

  • Add embedding generation to the mistral.rs backend via new local/ prefix routing
  • Move contentify helper from openai.rs to augment/embed.rs for shared use across backends
  • Add dep:reqwest to the local feature in Cargo.toml

Test plan

  • Run cargo test --features local,rag to verify the new embed path and updated hlo test
  • Verify existing ollama/openai/gemini embed paths still work (cargo test --features ollama,rag)

🤖 Generated with Claude Code

Add embedding generation capability to the mistral.rs backend, enabling
local embedding models (e.g. google/embeddinggemma-300m) via the
`local/` prefix without requiring external API servers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Nick Mitchell <nickm@us.ibm.com>
@starpit
Copy link
Copy Markdown
Member Author

starpit commented Feb 18, 2026

Closes #851

@starpit starpit merged commit 4e98f1e into IBM:main Feb 18, 2026
36 checks passed
@starpit starpit deleted the mistralrs-embed-support branch February 18, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant