FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix null DryRun output by martindevans · Pull Request #1419 · SciSharp/LLamaSharp · GitHub

Fix null DryRun output - #1419

Merged
martindevans merged 1 commit into
SciSharp:masterfrom
martindevans:fix_dry_run
Aug 23, 2026
Merged

Fix null DryRun output#1419
martindevans merged 1 commit into
SciSharp:masterfrom
martindevans:fix_dry_run

Conversation

Copy link
Copy Markdown
Member

Resolve #1359

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Pull request overview

This PR resolves #1359 by fixing NativeLibraryConfigContainer.DryRun(...) so its out parameters accurately reflect the libraries that were (or were not) loaded during the dry run, instead of always ending up null.

Changes:

  • Initialize loadedLLamaNativeLibrary and loadedMtmdNativeLibrary to null at method entry to ensure definite assignment even when _configs is empty.
  • Remove the final line that previously overwrote both out values to null, which made the dry run outputs unusable.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

martindevans merged commit feb3c35 into SciSharp:master Aug 23, 2026
8 checks passed
martindevans deleted the fix_dry_run branch August 23, 2026 18:36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

Is this line intentional ?

2 participants


Back | FazBrowse Home | New Git URL