MCPcopy
hub / github.com/mudler/LocalAI / BaseURL

Method BaseURL

pkg/huggingface-api/client.go:246–248  ·  view source on GitHub ↗

BaseURL returns the current base URL

()

Source from the content-addressed store, hash-verified

244
245// BaseURL returns the current base URL
246func (c *Client) BaseURL() string {
247 return c.baseURL
248}
249
250// SetBaseURL sets a new base URL (useful for testing)
251func (c *Client) SetBaseURL(url string) {

Callers 4

APIFunction · 0.80
GetEditModelPageFunction · 0.80
ImportModelURIEndpointFunction · 0.80
client_test.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected