Skip to content

Update Foundry Local SDK to 2.1.0 - #341640

Merged
Megan Rogge (meganrogge) merged 1 commit into
mainfrom
fix/341152-foundry-language
Oct 15, 2026
Merged

Megan Rogge (meganrogge) merged 1 commit into
mainfrom
fix/341152-foundry-language

Conversation

@meganrogge

Copy link
Copy Markdown
Collaborator

Summary

SDK 2.0.1 exposed session.settings.language but dropped it in the live transcription adapter, while its native streaming path did not bind the request language to Nemotron's lang_id. SDK 2.1.0 fixes both layers and normalizes canonical language tags such as es-US before lookup.

Testing

  • node --test build/lib/test/dictationRuntime.test.ts
  • npm run eslint -- build/lib/test/dictationRuntime.test.ts
  • cd build && npm run typecheck
  • verified the installed 2.1.0 runtime layout and VS Code native-loader patch

Fixes #341152

Use the SDK release that forwards live transcription language settings to the native Nemotron runtime, and align the packaging test dependency versions.

Fixes #341152

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 5f2f1f6e-e1d6-4baa-a0ac-d60c48f5edd2

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Cross-platform native-runtime loading and Spanish live transcription need human validation.

0 open findings

What changed in this PR

Updates Foundry Local SDK to pick up upstream fixes for Spanish on-device dictation.

Changes:

  • Bumps the SDK and install-script allowance to 2.1.0.
  • Updates dependency lock metadata.
  • Aligns packaging tests with ONNX Runtime 1.30.0 and GenAI 0.17.1.
File Description
package.json Updates SDK version and install-script allowance.
package-lock.json Locks SDK 2.1.0 and its integrity hash.
build/​lib/​test/​dictationRuntime.test.ts Updates runtime dependency expectations.

🧠 Review effort: Balanced


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@meganrogge
Megan Rogge (meganrogge) merged commit 54d466a into main Oct 15, 2026
86 of 89 checks passed
@meganrogge
Megan Rogge (meganrogge) deleted the fix/341152-foundry-language branch October 15, 2026 15:12
Megan Rogge (meganrogge) added a commit that referenced this pull request Oct 19, 2026
Revert "Update Foundry Local SDK to 2.1.0 (#341640)"

This reverts commit 54d466a.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dictation regression in 1.141.0: on-device model ignores Spanish and leaks the <en-US> token (works in 1.140.0)

4 participants