Skip to content

Fix null DryRun output - #1419

Open
martindevans wants to merge 1 commit into
SciSharp:masterfrom
martindevans:fix_dry_run
Open

Fix null DryRun output#1419
martindevans wants to merge 1 commit into
SciSharp:masterfrom
martindevans:fix_dry_run

Conversation

@martindevans

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.

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.

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