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

Struct localAIChatClient

core/cli/chat/client.go:19–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19type localAIChatClient struct {
20 client *openai.Client
21}
22
23func newLocalAIChatClient(baseURL string, apiKey string) *localAIChatClient {
24 cfg := openai.DefaultConfig(apiKey)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected