Skip to content

Issue using WinAppSDK Phi Silica Features in a DLL Build #5188

Open
@StevenBucher98

Description

@StevenBucher98

Describe the bug

I am trying to create an AI Shell agent to use the phi silica model using the WinAppSDK but running into an issue when I try to load the DLL i build with AI Shell.

Image

I tried this work around CommunityToolkit/dotnet#923 (comment) but all it does is change the version from 2.2.0.0 to 2.1.0.0 in the error message.

Steps to reproduce the bug

  1. Build the code at https://github.com/StevenBucher98/phisilicaagent
  2. Install AI Shell
  3. Put the built dll in the .aish\agents\phisilicaconsole folder, you will need to create the phisilicaconsole folder, the naming has to match the name of the dll.
  4. Start AI Shell by running aish
  5. Choose the phiconsole agent and try to type a command

Expected behavior

Able to call the phi silica model from AI Shell

Screenshots

No response

NuGet package version

Windows App SDK 1.7 Experimental 3: 1.7.250127003-experimental3

Packaging type

Unpackaged

Windows version

Windows 11 version 24H2 (22621, October 2024 Update)

IDE

Visual Studio 2022

Additional context

I am on Copilot+ PC and was able to call phi silica agent using a test console app so confirm the model is there an working.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions