@vercel[bot]1mo ago
feat(apollo): migrate plan search reranker to AI slot registry
loading diff…
withFallback('plan_reranker', ...) and AI SDK generateTextRERANK_FALLBACK_MAP, isTransientProviderError, llmRerankWithProvider, and RERANK_PRIMARY_RETRY_CONFIG — all handled by the centralized withFallback wrapperrerankerConfigOverride param from llmRerank — provider/model config flows through the slot registry + planSearchRerankConfig LD flagwithFallback instead of individual SDK clientspnpm check-types passes (zero errors in changed files)npx vitest run --config vitest.unit.config.ts src/lib/composio_actions/utils/planSearch/__tests__/clients.rerank.unit.test.ts (6/6)Stacked on #9987.
🤖 Generated with Claude Code
Based on git blame analysis of 3 file(s):
| Contributor | Contribution | Files |
|---|---|---|
| Dhawal Upadhyay | 58% | 2 |
| Abir Taheer | 19% | 3 |
| Jayesh Sharma | 15% | 2 |
| Zen Agent | 8% | 3 |
| devin-ai-integration[bot] | 0% | 1 |
Recommend Abir Taheer — edited both clients.ts and the unit test today, so they have the freshest context on the recent changes. Add Dhawal Upadhyay as a second reviewer — he’s the main contributor/owner of clients.ts and vector_search and can provide broader architectural context.
🤖 Based on git blame with recency weighting (recent edits count more).
:x: Patch coverage is 92.66055% with 8 lines in your changes missing coverage. Please review.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| ...c/lib/composio_actions/utils/planSearch/clients.ts | 94.33% | 6 Missing :warning: |
| ...pollo/src/pages/api/v3/admin/vector/test_search.ts | 0.00% | 2 Missing :warning: |
| Flag | Coverage Δ | |
|---|---|---|
| e2e-tests | 5.83% <0.00%> (+<0.01%) |
| :arrow_up: |
| self-hosted-tests | 5.65% <0.00%> (+<0.01%) | :arrow_up: |
| unit-tests | 58.74% <92.66%> (+0.03%) | :arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Files with missing lines | Coverage Δ | |
|---|---|---|
| ...src/lib/composio_actions/utils/planSearch/types.ts | 100.00% <ø> (ø) | |
| ...composio_actions/utils/planSearch/vector_search.ts | 27.24% <100.00%> (-0.78%) | :arrow_down: |
| ...pollo/src/pages/api/v3/admin/vector/test_search.ts | 0.42% <0.00%> (+0.02%) | :arrow_up: |
| ...c/lib/composio_actions/utils/planSearch/clients.ts | 46.21% <94.33%> (-6.22%) | :arrow_down: |