MCPcopy
hub / github.com/google/ax / text

Function text

internal/controller/executor/util.go:39–46  ·  view source on GitHub ↗

text is a helper that builds a plain-text Message.

(role, s string)

Source from the content-addressed store, hash-verified

37
38// text is a helper that builds a plain-text Message.
39func text(role, s string) *proto.Message {
40 return &proto.Message{
41 Role: role,
42 Content: &proto.Content{
43 Type: &proto.Content_Text{Text: &proto.TextContent{Text: s}},
44 },
45 }
46}

Callers 13

ExampleFunction · 0.85
TestTaskManagerFunction · 0.85
TestFanoutFunction · 0.85
TestConfirmationFunction · 0.85
TestResumeFunction · 0.85
TestResumeConfirmationFunction · 0.85

Calls

no outgoing calls

Tested by 13

ExampleFunction · 0.68
TestTaskManagerFunction · 0.68
TestFanoutFunction · 0.68
TestConfirmationFunction · 0.68
TestResumeFunction · 0.68
TestResumeConfirmationFunction · 0.68