mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 02:16:36 +02:00
lint: enable usetesting, disable tenv (#10594)
This commit is contained in:
parent
b585a58121
commit
6e9a7a2568
12 changed files with 55 additions and 87 deletions
|
@ -87,7 +87,7 @@ func TestGenerateChat(t *testing.T) {
|
|||
},
|
||||
}
|
||||
|
||||
go s.sched.Run(context.TODO())
|
||||
go s.sched.Run(t.Context())
|
||||
|
||||
_, digest := createBinFile(t, ggml.KV{
|
||||
"general.architecture": "llama",
|
||||
|
@ -631,7 +631,7 @@ func TestGenerate(t *testing.T) {
|
|||
},
|
||||
}
|
||||
|
||||
go s.sched.Run(context.TODO())
|
||||
go s.sched.Run(t.Context())
|
||||
|
||||
_, digest := createBinFile(t, ggml.KV{
|
||||
"general.architecture": "llama",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue