feat: add embedding support for parasail provider - #7096
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (5)
Included review availability: 7 reviews are currently available. Your included PR review attempts over the past 7 days set your current allowance at 10 reviews per hour. 📝 SummarySummary by CodeRabbit
WalkthroughParasail now supports embedding requests through its OpenAI-compatible endpoint. Tests enable embedding scenarios, documentation lists the supported operation, and UI provider constants recognize Parasail as embedding-capable. ChangesParasail embeddings
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: Merge Risk: ⚪ Minimal · up to The Parasail embedding support changes are consistent across the provider implementation, tests, documentation, and UI capability metadata. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 3 files. (2 skipped: 2 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
318482e to
246bcec
Compare

Summary
Enables embedding support for the Parasail provider by wiring up Parasail's OpenAI-compatible
/v1/embeddingsendpoint instead of returning anUnsupportedOperationError.Changes
Embeddingimplementation in the Parasail provider with a call toopenai.HandleOpenAIEmbeddingRequest, using Parasail's/v1/embeddingsendpoint with bearer auth.parasail-bge-m3as the embedding model and enabled theEmbeddingtest scenario.Type of change
Affected areas
How to test
go test ./core/providers/parasail/...The
Embeddingscenario will run against the Parasail API using theparasail-bge-m3model. Confirm a validBifrostEmbeddingResponseis returned without error.Breaking changes
Related issues
Security considerations
No new secrets or auth mechanisms introduced. The existing bearer token flow used by other Parasail endpoints is reused as-is.
Checklist
docs/contributing/README.mdand followed the guidelines