microsoft / microsoft/PowerToys

Advanced Paste: Paste with AI can't find Foundry Local models

Open
#50,152 3 comments 1 reaction 0 assignees View on GitHub
Issue-Bug Needs-Triage Product-Advanced Paste
Dominant language
C
Stars
139k
Forks
8.6k
PR merge metrics
PR metrics pending

Description

### Microsoft PowerToys version and release channel

0.101.2362 - Stable

### Installation method

WinGet

### Area(s) with issue?

Advanced Paste

### Steps to reproduce

1. [Install Foundry Local and phi-4-mini model](https://learn.microsoft.com/en-us/azure/foundry-local/how-to/how-to-use-foundry-local-cli?tabs=windows):
```
$ winget install Microsoft.FoundryLocal
$ foundry --version
0.10.3
$ foundry model download phi-4-mini
$ foundry model load phi-4-mini
```

2. Verify Foundry w/ phi-4-mini works:

```
$ foundry model list --loaded
╭────────────┬──────┬────────┬────────┬───────┬────────╮
│ Model Name │ Type │ Size │ Device │ Tools │ Cached │
├────────────┼──────┼────────┼────────┼───────┼────────┤
│ phi-4-mini │ Chat │ 2.2 GB │ GPU │ ● │ ● │
╰────────────┴──────┴────────┴────────┴───────┴────────╯
$ foundry chat phi-4-mini
■ Chatting model (phi-4-mini)
■ note: Type /help to see chat commands, /exit to quit.
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
❯ /exit
■ note: Chat session ended.
$ foundry config show
╭──────────────────────┬─────────────────────────────────────────┬─────────╮
│ Key │ Value │ Source │
├──────────────────────┼─────────────────────────────────────────┼─────────┤
│ port │ auto │ default │
│ cache-directory │ C:\Users\jacktose\.foundry\cache\models │ default │
│ idle-timeout-minutes │ disabled │ default │
│ log-level │ info │ default │
╰──────────────────────┴─────────────────────────────────────────┴─────────╯
$ foundry status
╭──────────────┬────────────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Section │ Metric │ Value │
├──────────────┼────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ System │ OS │ Microsoft Windows 10.0.26200 │
│ System │ Architecture │ X64 │
│ System │ CPU │ 12th Gen Intel(R) Core(TM) i7-12700H (20 logical cores) │
│ System │ GPU │ NVIDIA NVIDIA GeForce RTX 3050 Ti Laptop GPU (3.9 GB), Intel Intel(R) Iris(R) Xe Graphics (128.0 MB) │
│ System │ RAM │ 3.2 GB available / 31.7 GB total │
│ System │ Disk │ 79.4 GB free / 474.7 GB total (C:\) │
│ System │ .NET │ .NET 9.0.18 │
│ Service │ State │ Ready │
│ Service │ Web URLs │ http://127.0.0.1:51661 │
│ Service │ CLI version │ 0.10.3 │
│ Service │ Foundry Local Core │ 1.0.0 │
│ Service │ ORT │ 1.26.0 │
│ Service │ ORT GenAI │ 0.0.0 │
│ Models │ Available variants │ 163 │
│ Models │ Loaded │ 1 │
│ Models │ Cached │ 2 │
│ Connectivity │ Local service │ Reachable │
│ Connectivity │ Model registry │ Reachable │
│ Warnings │ Status │ No warnings. │
╰──────────────┴────────────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────╯
$ foundry server status
State Ready
PID 13836
Started 2026-08-26 17:18:36Z
Uptime 4h 44m 59s
Web URLs http://127.0.0.1:51661
```

3. [PowerToys settings > Advanced Paste > Paste with AI (On) > Add model > Foundry Local](https://learn.microsoft.com/en-us/windows/powertoys/advanced-paste#adding-a-model-provider)

### ✔️ Expected Behavior

phi-4-mini model available to select.
Paste with AI works with that model activated.

### ❌ Actual Behavior

Foundry Local provider configuration window says No models downloaded. Run Foundry Local to download or add a local model.
Foundry Local provider configuration window. Shows “No models downloaded. Run Foundry Local to download or add a local model.”

I have tried:
* the refresh button.
* `foundry server restart`.
* restarting PowerToys.
* installing & loading another model (qwen3.5-2b-text).

### Upload Bug Report ZIP-file

[PowerToysReport_2026-08-26-15-34-28.zip](https://github.com/user-attachments/files/31490730/PowerToysReport_2026-08-26-15-34-28.zip)

### Additional Information

Windows 11 Enterprise 25H2
PowerShell 7.6.5
PowerToys 0.101.2362 running as Admin

### Other Software

Foundry Local 0.10.3

Contributor guide

Open the contributing guide

Research direction

Start in the Advanced Paste settings flow at Paste with AI > Add model > Foundry Local, then inspect how it discovers models from the Foundry Local service. Reproduce with the listed Foundry Local commands and verify the loaded phi-4-mini model is shown and can be selected for Paste with AI.

Written by the indexing model from the issue text.

Assessment

Domain
ai, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.