Skip to content

Conversation

@mudler
Copy link
Owner

@mudler mudler commented Nov 17, 2025

Description

This makes running models consistent and piggybacking on the importer only (both CLI and WebUI), and moves OCI and ollama support to the importer

Notes for Reviewers

Part of #7114

Signed commits

  • Yes, I signed my commits.

@netlify
Copy link

netlify bot commented Nov 17, 2025

Deploy Preview for localai failed.

Name Link
🔨 Latest commit 3e859a9
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/691ce65df31adc000824d477

// Check if error is due to context cancellation
if errors.Is(err, context.Canceled) {
// Clean up partial file on cancellation
removePartialFile(tmpFilePath)

Check warning

Code scanning / gosec

Errors unhandled

Errors unhandled
@mudler mudler changed the title feat(importer): support ollama and OCI, unify code feat(importer): unify importing code with CLI Nov 17, 2025
return gallery.ModelConfig{}, err
}
} else {
modelYAML, err = os.ReadFile(localURI)

Check failure

Code scanning / gosec

Potential file inclusion via variable

Potential file inclusion via variable
@mudler mudler force-pushed the feat/unify-imports branch 7 times, most recently from f20811e to 8838975 Compare November 18, 2025 20:24
Signed-off-by: Ettore Di Giacinto <[email protected]>
Signed-off-by: Ettore Di Giacinto <[email protected]>
Signed-off-by: Ettore Di Giacinto <[email protected]>
Signed-off-by: Ettore Di Giacinto <[email protected]>
Signed-off-by: Ettore Di Giacinto <[email protected]>
Signed-off-by: Ettore Di Giacinto <[email protected]>
Signed-off-by: Ettore Di Giacinto <[email protected]>
File input handlers are now handled by Alpine.js @change handlers in chat.html.
Removed duplicate listeners to prevent files from being processed twice

Signed-off-by: Ettore Di Giacinto <[email protected]>
@mudler mudler force-pushed the feat/unify-imports branch from 8838975 to 3e859a9 Compare November 18, 2025 21:34
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.

2 participants