Roo-Code/src/services/code-index/embedders
cscvenkatmadurai 0892455db2
feat(bedrock): add Cohere Embed v4 model and improve credential handling (Fixes #11823) (#11824)
feat(bedrock): add Cohere Embed v4 model and improve credential handling

- Add cohere.embed-v4:0 (1536-dim) to Bedrock embedding model profiles
- Add v4-specific request format (embedding_types: ["float"]) and response
  parsing (embeddings.float[0]) in BedrockEmbedder
- Replace fromEnv() with fromNodeProviderChain() for default credential
  chain when no AWS profile is specified, supporting SSO, IMDS, ECS, and
  other credential sources with built-in memoization
- Add unit tests for Cohere v4 request/response handling, credential
  provider selection, and v3 regression coverage

Fixes #11823
2026-03-05 18:45:17 -07:00
..
__tests__ Reapply Batch 1: 22 clean non-AI-SDK cherry-picks (#11473) 2026-02-14 13:47:12 -07:00
bedrock.ts feat(bedrock): add Cohere Embed v4 model and improve credential handling (Fixes #11823) (#11824) 2026-03-05 18:45:17 -07:00
gemini.ts Reapply Batch 1: 22 clean non-AI-SDK cherry-picks (#11473) 2026-02-14 13:47:12 -07:00
mistral.ts feat: Add Mistral embedding provider (#5932) (#5946) 2025-07-19 13:24:24 -04:00
ollama.ts Fix Ollama API URL normalization by removing trailing slashes (#6079) 2025-07-25 00:41:35 -04:00
openai-compatible.ts fix: handle ByteString conversion errors in OpenAI embedders (#8008) 2025-09-15 22:56:20 -04:00
openai.ts fix: handle ByteString conversion errors in OpenAI embedders (#8008) 2025-09-15 22:56:20 -04:00
openrouter.ts feat: Add provider routing selection for OpenRouter embeddings (#9144) (#9693) 2025-12-02 22:59:55 -05:00
vercel-ai-gateway.ts Add support for Vercel embeddings (#7445) 2025-08-27 13:30:19 -04:00