Skip to content

Remove dead ChatLLM.cpp speech-to-text code - #13757

Merged
niksedk merged 1 commit into
mainfrom
claude/chatllm-usage-review-e15d72
Aug 17, 2026
Merged

Remove dead ChatLLM.cpp speech-to-text code#13757
niksedk merged 1 commit into
mainfrom
claude/chatllm-usage-review-e15d72

Conversation

@niksedk

@niksedk niksedk commented Aug 17, 2026

Copy link
Copy Markdown
Member

Closes #13755.

The dependency bot asked us to move ChatLLM from chatllm-2025-02-04 to v24, which would mean rebuilding binaries for Windows, macOS-ARM and Linux. But the engine has been unreachable since f17b638 (2026-03-09), which disabled it by commenting out the only construction site:

//Engines.Add(new ChatLlmCppEngine());

Since that was the sole place ChatLlmCppEngine was ever instantiated, everything hanging off it was dead. This deletes it rather than bumping a dependency no user can reach.

Removed

  • ChatLlmCppEngine and its ChatLLM.cpp.txt help-text asset
  • ChatLlmDownloadService + DI registration — DownloadEngine() was only called from the dead branch, and DownloadModelQwen3AsrSmall/Large() had no callers at all (the live Qwen3 ASR engine uses IQwen3AsrCppDownloadService)
  • the four is ChatLlmCppEngine branches in SpeechToTextViewModel / DownloadSpeechToTextEngineViewModel, plus ReInsertPeriodsEtc() which only the ChatLLM transcription path called
  • WhisperChoice.ChatLlm and SeAudioToText.CommandLineParameterChatLlm

Net 495 lines removed, 3 added. grep -ri chatllm src/ is now empty. UI, UITests and LibUiLogicTests all build clean.

🤖 Generated with Claude Code

The ChatLLM.cpp engine was disabled in f17b638 (2026-03-09) by
commenting out the only "Engines.Add(new ChatLlmCppEngine())" call, which
made the engine and everything hanging off it unreachable.

Removed:
 - ChatLlmCppEngine and its help-text asset
 - ChatLlmDownloadService (DownloadEngine was only called from the dead
   branch; the two Qwen3-ASR model methods had no callers at all - the
   live Qwen3 ASR engine uses IQwen3AsrCppDownloadService)
 - the four "is ChatLlmCppEngine" branches in SpeechToTextViewModel and
   DownloadSpeechToTextEngineViewModel, plus ReInsertPeriodsEtc() which
   only the ChatLLM transcription path called
 - WhisperChoice.ChatLlm and SeAudioToText.CommandLineParameterChatLlm

Closes #13755 - the dependency bump would have meant rebuilding binaries
for three platforms for code no user can reach.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@niksedk
niksedk merged commit 2364113 into main Aug 17, 2026
1 check passed
@niksedk
niksedk deleted the claude/chatllm-usage-review-e15d72 branch August 17, 2026 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[deps] ChatLLM: chatllm-2025-02-04 → v24

1 participant