MCPcopy Create free account
hub / github.com/openclaw/gogcli / chatService

Function chatService

internal/cmd/runtime_services.go:200–206  ·  view source on GitHub ↗
(ctx context.Context, account string)

Source from the content-addressed store, hash-verified

198}
199
200func chatService(ctx context.Context, account string) (*chat.Service, error) {
201 runtime, err := runtimeWithService(ctx, "chat")
202 if err != nil || runtime.Services.Chat == nil {
203 return nil, serviceError(err, "chat")
204 }
205 return runtime.Services.Chat(ctx, account)
206}
207
208func classroomService(ctx context.Context, account string) (*classroom.Service, error) {
209 runtime, err := runtimeWithService(ctx, "classroom")

Callers 13

buildChatBackupSnapshotFunction · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85

Calls 3

runtimeWithServiceFunction · 0.85
serviceErrorFunction · 0.85
ChatMethod · 0.80

Tested by 1