#21620: Add DeepSeek embeddings provider for memory search
docs
commands
agents
size: M
Cluster:
Provider Support Enhancements
## Summary
- Add DeepSeek embeddings provider for memory search (remote embeddings).
- Wire provider into config schema, doctor check, and docs.
## Notes
- Uses OpenAI-compatible embeddings endpoint (POST /embeddings) with base URL https://api.deepseek.com/v1.
- Requires DEEPSEEK_API_KEY or models.providers.deepseek.apiKey.
## Testing
- Added unit tests for DeepSeek embedding provider (patterned after voyage tests).
<!-- greptile_comment -->
<h3>Greptile Summary</h3>
Adds DeepSeek as a new embedding provider for memory search. The implementation follows the existing pattern for OpenAI-compatible providers (similar to Voyage), using the standard `/embeddings` endpoint at `https://api.deepseek.com/v1`. Authentication uses `DEEPSEEK_API_KEY` or `models.providers.deepseek.apiKey`.
- Wired into config schema, doctor checks, and documentation
- Unit tests added covering client configuration, remote overrides, and model normalization
- Integration follows established patterns for remote embedding providers
- Missing DeepSeek references in a few type definitions and help text (see inline comments)
<h3>Confidence Score: 4/5</h3>
- Safe to merge with minor documentation and type definition updates
- Implementation follows established patterns correctly and includes good test coverage. Score reflects minor missing type definitions in `src/agents/memory-search.ts` and help text in `src/config/schema.help.ts` that need fixing to maintain consistency across the codebase.
- `src/agents/memory-search.ts` and `src/config/schema.help.ts` need type/help text updates to include `deepseek` option
<sub>Last reviewed commit: e1de643</sub>
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#14393: feat: add standalone DeepSeek provider support
by osoulmate · 2026-02-12
82.4%
#12503: feat: add DeepSeek provider suppor
by MackDing · 2026-02-09
81.3%
#11151: feat: add DeepSeek provider support
by MackDing · 2026-02-07
79.5%
#9821: add DeepSeek API provider support
by avibrahms · 2026-02-05
78.9%
#12624: feat: add google-vertex embedding provider for Vertex AI ADC auth
by swseo92 · 2026-02-09
72.6%
#10550: feat(memory-lancedb): local embeddings via node-llama-cpp
by namick · 2026-02-06
72.1%
#20191: feat(memory): add Amazon Bedrock embedding provider (Nova 2)
by gabrielkoo · 2026-02-18
71.8%
#19865: memory: add Ollama embedding provider
by nico-hoff · 2026-02-18
70.7%
#5920: fix: DeepSeek API compatibility - convert developer role to system ...
by coupclawbot · 2026-02-01
70.1%
#20771: feat(memory-lancedb): support custom OpenAI-compatible embedding pr...
by marcodelpin · 2026-02-19
70.0%