Skip to content

Foundry Local models from cache #301

@pts1989

Description

@pts1989

I have Foundry Local running, and trough the command line, you can see I have the model GPT-OSS in my cache and it is running.

Image Image

When I use github copilot, and I get to select models from Foundry Local (while using the AI Toolkit Extentions) I have also selected the GPT-OSS model, and it wants to start downloading it again, while it is already on my machine as you can see in the lists with cached models.

Image Image

Also the Azure AI Foundry extention when selecting a model from my Foundry Local installation, it keeps asking to download the model again. It seems that those plugins do look to a different cache directory, or perhaps do not make the API call to Foundry Local to find what models are already available in the cache.

Image

Something else I noticed as well, in VS Code I get to select the specific version of the model it needs to download, instead of harnessing the power of Foundry Local, to rely on the hardware detection of my machine.

Image

As you can see in the postman call to foundry local the models are available in the cache.

Is this a bug in Foundry Local or in the extention that is not using the same cache folder?

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