Skip to content

reported model list includes ".DS_Store" #801

@rozek

Description

@rozek

LocalAI version:
master version from July 25th, commit 12fe093

Environment, CPU architecture, OS, and Version:
Docker build on Macbook Air M2, macos Ventura 13.4.1

Describe the bug
curl http://localhost:8080/v1/models

reports

{"object":"list","data":[{"id":".DS_Store","object":"model"},{"id":"llama-2-13b.ggmlv3.q4_0.bin","object":"model"},{"id":"llama-2-13b.ggmlv3.q4_0","object":"model"}]}

which includes .DS_Store, an internal file used by macos.

Perhaps, "hidden" files (i.e., those starting with a .), should be excluded in general

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions