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

Method ListModels

core/cli/chat/client.go:15–15  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

13
14type chatClient interface {
15 ListModels(ctx context.Context) ([]string, error)
16 StreamChat(ctx context.Context, model string, messages []chatMessage, out io.Writer) (string, error)
17}
18

Callers 6

app_test.goFile · 0.65
ListBackendLogsEndpointFunction · 0.65
newChatSessionFunction · 0.65
ListModelsMethod · 0.65

Implementers 2

fakeChatClientcore/cli/chat/session_test.go
localAIChatClientcore/cli/chat/client.go

Calls

no outgoing calls

Tested by

no test coverage detected