Roo-Code/packages
Roo Code 66da3145eb feat: add FIM inline code completion support (Fill-in-the-Middle)
Implements a lightweight FIM completion provider that registers as a
VS Code InlineCompletionItemProvider to provide ghost-text suggestions
as the user types, similar to GitHub Copilot.

Key components:
- FimTokenFormatter: Maps model families to FIM token formats (DeepSeek,
  CodeLlama, StarCoder, Mistral/Codestral, Qwen, generic)
- FimApiClient: Lightweight API client supporting /v1/completions,
  Ollama /api/generate, and Mistral /v1/fim/completions endpoints
- FimCompletionProvider: VS Code InlineCompletionItemProvider with
  debouncing, caching, and cancellation support
- FimService: Orchestrator managing provider lifecycle based on settings

Settings added to GlobalSettings:
- fimEnabled, fimProvider, fimModelId, fimBaseUrl, fimDebounceMs,
  fimMaxTokens, fimApiKey (secret)

Supported providers: openai-compatible, deepseek, mistral, ollama

Closes #12261
2026-05-03 09:43:37 +00:00
..
build Custom tool calling (#10083) 2025-12-21 12:43:06 -08:00
cloud Changeset version bump (#12085) 2026-04-08 15:16:12 -06:00
config-eslint Upgrade to ESLint 9 + share eslint config across workspaces (#3815) 2025-05-21 21:30:21 -07:00
config-typescript Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
core Changeset version bump (#12085) 2026-04-08 15:16:12 -06:00
evals Changeset version bump (#12085) 2026-04-08 15:16:12 -06:00
ipc Changeset version bump (#12085) 2026-04-08 15:16:12 -06:00
telemetry Changeset version bump (#12085) 2026-04-08 15:16:12 -06:00
types feat: add FIM inline code completion support (Fill-in-the-Middle) 2026-05-03 09:43:37 +00:00
vscode-shim Some cleanup in ExtensionHost (#10600) 2026-01-10 02:29:33 -08:00