mirror of
https://github.com/ollama/ollama.git
synced 2026-04-21 16:25:42 +02:00
modernize
This commit is contained in:
@@ -442,7 +442,7 @@ func TestReadImage_FileNotFound(t *testing.T) {
|
||||
func TestOptionsMapCreation(t *testing.T) {
|
||||
fOpt := createTestFlagOptions()
|
||||
|
||||
options := make(map[string]interface{})
|
||||
options := make(map[string]any)
|
||||
if *fOpt.maxTokens > 0 {
|
||||
options["num_predict"] = *fOpt.maxTokens
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user