+ip:port
This commit is contained in:
parent
ff7af5667d
commit
958afe32bf
1 changed files with 5 additions and 0 deletions
5
main.go
5
main.go
|
@ -55,6 +55,11 @@ func get_ollama_tags() Models {
|
|||
retval := Models{}
|
||||
json.Unmarshal(body, &retval)
|
||||
|
||||
for i := 0; i < len(retval.Models); i++ {
|
||||
retval.Models[i].Ip = "192.168.1.30"
|
||||
retval.Models[i].Port = "11434"
|
||||
}
|
||||
|
||||
return retval
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue