mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 10:26:53 +02:00
uint64
This commit is contained in:
parent
0f1910129f
commit
1954ec5917
8 changed files with 37 additions and 59 deletions
|
@ -2,8 +2,6 @@ package api
|
|||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/ollama/ollama/envconfig"
|
||||
)
|
||||
|
||||
func TestClientFromEnvironment(t *testing.T) {
|
||||
|
@ -33,7 +31,6 @@ func TestClientFromEnvironment(t *testing.T) {
|
|||
for k, v := range testCases {
|
||||
t.Run(k, func(t *testing.T) {
|
||||
t.Setenv("OLLAMA_HOST", v.value)
|
||||
envconfig.LoadConfig()
|
||||
|
||||
client, err := ClientFromEnvironment()
|
||||
if err != v.err {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue