Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

attempt two for skipping files in the file walk (#105)

Patrick Devine9e15635c2d89
diff --git a/server/routes.go b/server/routes.go
index 3256af164..48060d4ee 100644
--- a/server/routes.go
+++ b/server/routes.go
@@ -195,7 +195,8 @@ func list(c *gin.Context) {
if !info.IsDir() {
fi, err := os.Stat(path)
if err != nil {
- return err
+ log.Printf("skipping file: %s", fp)
+ return nil
}
path := path[len(fp)+1:]
slashIndex := strings.LastIndex(path, "/")