Skip to content

Revert WIP GLM-5.1 commits from main#26

Merged
solderzzc merged 5 commits into
mainfrom
feature/revert-glm-5.1
Apr 19, 2026
Merged

Revert WIP GLM-5.1 commits from main#26
solderzzc merged 5 commits into
mainfrom
feature/revert-glm-5.1

Conversation

@solderzzc

Copy link
Copy Markdown
Member

Reverting unfinished GLM 5.1 work that was accidentally merged into main.

Copilot AI review requested due to automatic review settings April 19, 2026 21:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Reverts the unfinished GLM 5.1 (GLM MoE DSA) work that was accidentally merged into main, removing the model implementation and its factory registration.

Changes:

  • Removes the GLMMoeDSA model implementation file.
  • Removes the glm_moe_dsa entry from LLMModelFactory registry.
  • Updates integration test pattern matching for streamed Generation chunks (currently introduces a compile issue).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
Libraries/MLXLLM/Models/GLMMoeDSA.swift Deletes the GLM MoE DSA model implementation as part of the revert.
Libraries/MLXLLM/LLMModelFactory.swift Removes the glm_moe_dsa model type mapping from the registry.
Libraries/IntegrationTestHelpers/IntegrationTestHelpers.swift Adjusts streaming Generation switch cases (needs correction to match current enum shape).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

{
switch generation {
case .chunk(let text, _):
case .chunk(let text):
for try await generation in stream {
switch generation {
case .chunk(let chunk, _):
case .chunk(let chunk):
@solderzzc solderzzc merged commit 50c3732 into main Apr 19, 2026
6 checks passed
solderzzc pushed a commit that referenced this pull request Apr 20, 2026
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.

2 participants