Skip to content

Cherry pick round 5#614

Merged
baijumeswani merged 3 commits intoreleases/rel-1.0.0from
baijumeswani/cherry-pick-5
Apr 8, 2026
Merged

Cherry pick round 5#614
baijumeswani merged 3 commits intoreleases/rel-1.0.0from
baijumeswani/cherry-pick-5

Conversation

@baijumeswani
Copy link
Copy Markdown
Collaborator

No description provided.

DavidLuong98 and others added 2 commits April 8, 2026 12:20
## Summary
Fixes an incorrect informational log message in the C# SDK's web unload
path.

## Changes
- Updated `WebUnloadModelAsync` in
`sdk/cs/src/Detail/ModelLoadManager.cs`
- Changed the success log text from "loaded successfully" to "unloaded
successfully"

## Why
Consumers of `sdk/cs` provide their own `ILogger`, so this message is
surfaced in their application logs. The old text was misleading and
could cause confusion during debugging and support investigations.
Change the public download progress callback type from FnMut(&str) to
FnMut(f64) for cross-SDK consistency. Python, JS, and C# SDKs all expose
a numeric float type for download progress.

The string-to-float parsing now happens inside model_variant.rs (using
chunk.parse::<f64>()), matching the pattern already used by
download_and_register_eps_with_progress. Unparseable chunks are silently
TryParse). The internal core_interop streaming infrastructure remains
unchanged since it is shared with chat/audio streaming.

---------

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

vercel bot commented Apr 8, 2026

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

Project Deployment Actions Updated (UTC)
foundry-local Ready Ready Preview, Comment Apr 8, 2026 8:00pm

Request Review

@baijumeswani baijumeswani merged commit 735ecf2 into releases/rel-1.0.0 Apr 8, 2026
12 of 17 checks passed
@baijumeswani baijumeswani deleted the baijumeswani/cherry-pick-5 branch April 8, 2026 20:03
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.

4 participants