remove unused code

This commit is contained in:
Bruce MacDonald
2023-07-20 20:18:00 +02:00
parent 6a19724d5f
commit 3ec4ebc562
2 changed files with 2 additions and 19 deletions

View File

@@ -18,15 +18,6 @@ import (
"github.com/jmorganca/ollama/llama"
)
func cacheDir() string {
home, err := os.UserHomeDir()
if err != nil {
panic(err)
}
return filepath.Join(home, ".ollama")
}
func generate(c *gin.Context) {
start := time.Now()