Skip to content

JavaScript SDK_v2 examples#406

Merged
samuel100 merged 27 commits intomainfrom
samuel100/js-sdk-examples
Mar 10, 2026
Merged

JavaScript SDK_v2 examples#406
samuel100 merged 27 commits intomainfrom
samuel100/js-sdk-examples

Conversation

@samuel100
Copy link
Copy Markdown
Contributor

Added examples for the JavaScript SDK_v2.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
foundry-local Ready Ready Preview, Comment Mar 10, 2026 3:45pm

Request Review

@samuel100 samuel100 marked this pull request as ready for review March 3, 2026 11:46
samuel100 and others added 3 commits March 3, 2026 12:01
…nd missing awaits

- Add macOS/Linux and Windows install instructions with --foreground-scripts
  and --winml flags across all JS sample READMEs
- Replace model.download() with await model.download() with progress callback
  in console-based samples
- Add missing await on model.load(), model.unload(), and model.download()
  calls to match SDK async API signatures
- Remove unnecessary await on sync stopWebService() in web-server example

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

# Conflicts:
#	README.md
#	samples/cs/GettingStarted/Directory.Packages.props
#	samples/js/hello-foundry-local/src/app.js
Comment thread samples/js/audio-transcription-example/app.js
@samuel100 samuel100 merged commit 23795cd into main Mar 10, 2026
9 checks passed
@samuel100 samuel100 deleted the samuel100/js-sdk-examples branch March 10, 2026 15:49
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.

3 participants