Skip to content

JavaScript SDK_v2 examples#406

Open
samuel100 wants to merge 26 commits intomainfrom
samuel100/js-sdk-examples
Open

JavaScript SDK_v2 examples#406
samuel100 wants to merge 26 commits intomainfrom
samuel100/js-sdk-examples

Conversation

@samuel100
Copy link
Contributor

Added examples for the JavaScript SDK_v2.

@vercel
Copy link

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 5, 2026 11:52am

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
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