Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

watch local models #119

Merged
merged 1 commit into from
Jan 24, 2024
Merged

watch local models #119

merged 1 commit into from
Jan 24, 2024

Conversation

feloy
Copy link
Contributor

@feloy feloy commented Jan 24, 2024

This PR makes the extension watch the folder containing the models, and updates the UI accordingly.

Fixes #116

@feloy feloy force-pushed the feat-116/watch-models branch 2 times, most recently from fb335cc to 13d3428 Compare January 24, 2024 08:22
@feloy feloy force-pushed the feat-116/watch-models branch from 13d3428 to ac9a732 Compare January 24, 2024 08:24
@feloy feloy changed the title [wip] watch local models watch local models Jan 24, 2024
Copy link
Contributor

@axel7083 axel7083 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Great work

await reloadLocalModels();
}

getModelsInfo() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we do not display models that are not in the catalog ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, we are displaying in the Models list only the models on the disk AND on the catalog, as the catalog is the source for many information (model name, license, etc).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rather still list the models, and show some "?" or information/warning icon the missing field rather than ignoring them

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@slemeur what do you think?

packages/shared/Messages.ts Show resolved Hide resolved
@feloy feloy requested a review from jeffmaury January 24, 2024 09:51
@feloy feloy merged commit 580f364 into main Jan 24, 2024
3 checks passed
@feloy feloy deleted the feat-116/watch-models branch January 24, 2024 11:03
mhdawson pushed a commit to mhdawson/podman-desktop-extension-ai-lab that referenced this pull request Nov 22, 2024
…e-containers

Embed workload bootable containers
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.

feat: Watch the models folder to reload models reactively
2 participants