Skip to content

Remove LiteRT-LM support for 0.11.0 - #238

Merged
mattt merged 4 commits into
mainfrom
mattt/remove-before-0.10.1
Sep 11, 2026
Merged

mattt merged 4 commits into
mainfrom
mattt/remove-before-0.10.1

Conversation

@mattt

@mattt mattt commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Removes LiteRT-LM support introduced in #229 ahead of 0.11.0 because its dependency can block builds even when the backend is disabled.

This PR removes the LiteRT trait, LiteRTLanguageModel, runtime adapter, backend tests, the LiteRT-LM dependency pin, and CI workaround for Git LFS. Updates README installation examples to 0.11.0 and replaces the old workaround instructions with a removal notice at the existing troubleshooting link.

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.

🔵 Needs a closer look

Restore the llama.swift and swift-huggingface pins in Package.resolved to preserve reproducible supported builds.

Pull request overview

This pull request removes LiteRT-LM support ahead of 0.11.0 to prevent disabled backend dependencies from blocking builds.

Changes:

  • Removes LiteRT implementations, tests, traits, and dependency configuration.
  • Removes the CI Git LFS workaround.
  • Updates README installation examples and removal guidance.
File summaries
File Summary
Tests/AnyLanguageModelTests/LiteRTLanguageModelTests.swift Removes LiteRT configuration tests.
Tests/AnyLanguageModelTests/LiteRTLanguageModelBehaviorTests.swift Removes LiteRT behavior tests.
Sources/AnyLanguageModel/Models/LiteRTRuntime.swift Removes the LiteRT runtime adapter.
Sources/AnyLanguageModel/Models/LiteRTLanguageModel.swift Removes the LiteRT model implementation.
README.md Updates installation examples and LiteRT guidance.
Package.swift Removes LiteRT trait and dependency configuration.
Package.resolved Removes LiteRT pins but also drops remaining backend pins that are still declared.
.github/workflows/ci.yml Removes LiteRT build flags and the Git LFS workaround.
Review details
  • Files reviewed: 7/8 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@mattt
mattt merged commit 82fe43f into main Sep 11, 2026
11 checks passed
@mattt
mattt deleted the mattt/remove-before-0.10.1 branch September 11, 2026 17:33
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