microsoft / microsoft/WindowsAppSDK
Running language model report System.Runtime.InteropService.COMException
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 4.7k
- Forks
- 471
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 28
Description
### Describe the bug
I'm trying to run the Windows Copilot Runtime API on Intel 200V platform, the following code report the COMException: "Element not found"
`IProgress progress;
if (!LanguageModel.IsAvailable())
{
var languageModelDeploymentOperationAsync = LanguageModel.MakeAvailableAsync();
languageModelDeploymentOperationAsync.Progress = (_, packageDeploymentProgress) =>
{
progress.Report(packageDeploymentProgress);
};
await languageModelDeploymentOperationAsync;
}
`

### Steps to reproduce the bug
1. Run link[Windows Copilot Runtime APIs example](https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/WindowsCopilotRuntime)
2. Create session in Language Model or Image Description
OS Build 26120.3281
### Expected behavior
_No response_
### Screenshots
_No response_
### NuGet package version
Windows App SDK 1.7 Experimental 3: 1.7.250127003-experimental3
### Packaging type
_No response_
### Windows version
Insider Build (xxxxx)
### IDE
Visual Studio 2022
### Additional context
_No response_
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Samples/WindowsCopilotRuntime and reproduce the LanguageModel or Image Description flow on the Intel 200V platform and OS build 26120.3281. Inspect the IsAvailable and MakeAvailableAsync calls around the reported COMException; done means establishing the cause and supported behavior for this platform and build, with a fix if required.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100