mirror of
https://github.com/ollama/ollama.git
synced 2025-08-03 18:23:04 +02:00
add OLLAMA_MODELS to envconfig (#5029)
This commit is contained in:
@@ -8,10 +8,12 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/ollama/ollama/api"
|
||||
"github.com/ollama/ollama/envconfig"
|
||||
)
|
||||
|
||||
func TestList(t *testing.T) {
|
||||
t.Setenv("OLLAMA_MODELS", t.TempDir())
|
||||
envconfig.LoadConfig()
|
||||
|
||||
expectNames := []string{
|
||||
"mistral:7b-instruct-q4_0",
|
||||
|
Reference in New Issue
Block a user