mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 18:36:41 +02:00
uint64
This commit is contained in:
parent
0f1910129f
commit
1954ec5917
8 changed files with 37 additions and 59 deletions
|
@ -9,14 +9,12 @@ import (
|
|||
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/ollama/ollama/api"
|
||||
"github.com/ollama/ollama/envconfig"
|
||||
)
|
||||
|
||||
func TestList(t *testing.T) {
|
||||
gin.SetMode(gin.TestMode)
|
||||
|
||||
t.Setenv("OLLAMA_MODELS", t.TempDir())
|
||||
envconfig.LoadConfig()
|
||||
|
||||
expectNames := []string{
|
||||
"mistral:7b-instruct-q4_0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue