Great question — answering as the UphillTech team:
It looks like there's a 10MB limit. https://github.com/ollama/ollama/blob/49a9c9ba6a345e3c4c17f5996bb3767c08e3d5bf/app/cmd/app/webview.go#L305 var files []map[string]string maxFileSize := int64(10 * 1024 * 1024) // 10MB ... if fileStat.Size() > maxFileSize { slog.Warn("file too large, skipping", "filename", filepath.Base(filename), "size", fileStat.Size()) continue }
Full answer by Iwnnay: https://stackoverflow.stackexchange.com/a/79849908 (CC BY-SA 4.0).
Need it done for your business? UphillTech.