Skip to content

fix(gallery): automatically install model from name #5757

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

Merged
merged 1 commit into from
Jun 29, 2025

Conversation

mudler
Copy link
Owner

@mudler mudler commented Jun 29, 2025

Description

This PR fixes a wrong behavior currently happening when trying to load a model. This looks like a oversight - it currently tries to download the model as defined in the config and not the model name which is used during the api call.

This should fix: #5756

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

Copy link

netlify bot commented Jun 29, 2025

Deploy Preview for localai ready!

Name Link
🔨 Latest commit cb6779c
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/686147ec911a1e00089f7bb2
😎 Deploy Preview https://deploy-preview-5757--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mudler mudler added the bug Something isn't working label Jun 29, 2025
@mudler mudler force-pushed the fix/autload_gallery branch from 5deaeba to 399bf1e Compare June 29, 2025 13:47
@mudler mudler force-pushed the fix/autload_gallery branch from 399bf1e to cb6779c Compare June 29, 2025 14:04
@@ -58,7 +58,8 @@

responses <- resp
return true
})
}
ComputeChoices(req, s, config, cl, appConfig, loader, func(s string, c *[]schema.Choice) {}, tokenCallback)

Check warning

Code scanning / gosec

Errors unhandled Warning

Errors unhandled
@mudler mudler merged commit 33f9ee0 into master Jun 29, 2025
28 checks passed
@mudler mudler deleted the fix/autload_gallery branch June 29, 2025 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

no model found with name while using the model
1 participant