MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / ResetLocalAddress

Function ResetLocalAddress

ai-provider/local/local.go:15–22  ·  view source on GitHub ↗
(address string)

Source from the content-addressed store, hash-verified

13)
14
15func ResetLocalAddress(address string) error {
16 u, err := url.Parse(address)
17 if err != nil {
18 return err
19 }
20 client = api.NewClient(u, http.DefaultClient)
21 return nil
22}
23
24var (
25 LocalConfig = "{\n \"temperature\": \"\",\n \"top_p\": \"\",\n \"max_tokens\": \"\"\n}"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected