Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

wip: gallery refactoring #6482

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

Draft
mudler wants to merge 1 commit into master
base: master
Choose a base branch
Loading
from btree
Draft

wip: gallery refactoring #6482

mudler wants to merge 1 commit into master from btree

Conversation

@mudler
Copy link
Owner

@mudler mudler commented Oct 16, 2025
edited
Loading

Description

Notes for Reviewers

The directory format of the galleries can be multiple yaml files with multiple models defined (ideally, we should have an index of these files, e.g. by architecture)

name: "Gemma"
backend: ""
---
name: "Qwen"
backend: ""

Signed commits

  • Yes, I signed my commits.

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Copy link

netlify bot commented Oct 16, 2025
edited
Loading

Deploy Preview for localai ready!

Name Link
🔨 Latest commit ab30277
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/68f11818decbb50008ed0745
😎 Deploy Preview https://deploy-preview-6482--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.


// processYAMLFile takes a single file path and adds its models to the existing tree.
func processYAMLFile[T GalleryElement](filePath string, tree *Gallery[T]) error {
file, err := os.Open(filePath)

Check failure

Code scanning / gosec

Potential file inclusion via variable Error

Potential file inclusion via variable
@mudler mudler changed the title (削除) wip (削除ここまで) (追記) wip: gallery refactoring (追記ここまで) Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /