Skip to content

feat!: remove LeMUR support - #172

Merged
ccampbell-aai merged 2 commits into
mainfrom
ccampbell/remove-lemur
Aug 28, 2026
Merged

feat!: remove LeMUR support#172
ccampbell-aai merged 2 commits into
mainfrom
ccampbell/remove-lemur

Conversation

@ccampbell-aai

@ccampbell-aai ccampbell-aai commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Remove LeMUR support

Closes #171.

The LeMUR API has been shut down — /lemur/v3/generate/* and /lemur/v3/{id} now answer 404 — and the Python SDK already removed its LeMUR support, so the two official SDKs disagreed with each other. This brings the Node SDK in line by removing LeMUR entirely.

Changes

  • Delete LemurService (src/services/lemur/) and the client.lemur property.
  • Remove all Lemur request/response types from src/types/openapi.generated.ts and the deprecated Lemur aliases from src/types/deprecated.ts.
  • Delete the LeMUR unit and integration tests.
  • Drop the LeMUR mention from the package description.
  • Bump the version to 4.37.0 with a CHANGELOG entry.

Historical CHANGELOG entries and the incidental "Lemur" example strings in keyterms_prompt samples are intentionally left alone.

Breaking change

client.lemur, LemurService, and every Lemur type disappear from the public API. Ships as 4.37.0: the removed surface has been non-functional server-side (404) for some time, so this is treated as a minor rather than a major.

For LeMUR-style workloads, the replacement is the LLM Gateway (llm-gateway.assemblyai.com/v1/chat/completions) — note it takes text rather than transcript_ids, so callers fetch the transcript text themselves.

Verification

  • Repo-wide grep for lemur is clean apart from the intentional leftovers above.
  • pnpm lint (eslint, tsc, prettier, publint) and pnpm build pass.
  • pnpm test:unit: 218 passed, 3 failed — the 3 failures are the runtime_env=Node/ user-agent assertions in tests/unit/utils.test.ts, which fail identically on pristine main under Node 26 (Node now ships a global navigator.userAgent, short-circuiting the guard in src/utils/userAgent.ts). Unrelated to this change.

🤖 Generated with Claude Code

ccampbell-aai and others added 2 commits August 27, 2026 15:35
BREAKING CHANGE: the LeMUR API has been shut down, so `client.lemur`,
`LemurService`, and all Lemur request/response types are removed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ccampbell-aai
ccampbell-aai force-pushed the ccampbell/remove-lemur branch from d818058 to 58d00b8 Compare August 27, 2026 21:35
@ccampbell-aai
ccampbell-aai marked this pull request as ready for review August 27, 2026 21:47
@ccampbell-aai
ccampbell-aai merged commit 5575193 into main Aug 28, 2026
3 checks passed
@ccampbell-aai
ccampbell-aai deleted the ccampbell/remove-lemur branch August 28, 2026 20:35
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.

LeMUR endpoints answer 404, and the SDK still ships them

2 participants