Skip to content

v2.1.0 — deepseek_fim: Fill-in-the-Middle completion

Choose a tag to compare

@arikusi arikusi released this 02 Jul 08:19
f54b61e

Added

  • New tool: deepseek_fim, Fill-in-the-Middle completion. Provide a prompt (prefix) and an optional suffix; the model completes the text in between. Built for code completion and content infilling. Runs against DeepSeek's Beta completions endpoint in non-thinking mode, with output capped at 4096 tokens. Supports model, max_tokens, temperature, and stop, with the same cache-aware cost tracking as deepseek_chat. On the npm/stdio server it also reuses the circuit breaker and model fallback (v4-flash <-> v4-pro). The deepseek-chat / deepseek-reasoner aliases resolve to v4-flash since FIM has no thinking mode.
  • deepseek_fim ships on both the npm/stdio server and the hosted worker endpoint (deepseek-mcp.tahirl.com).
  • fim capability listed on both models in the deepseek://models resource.

Quality

  • 296 tests (+16). Both surfaces verified live against the real DeepSeek V4 Beta API before release.

Full Changelog: v2.0.0...v2.1.0