MCPcopy Index your code
hub / github.com/google/ax / GetText

Method GetText

proto/content.pb.go:1466–1473  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1464}
1465
1466func (x *Content) GetText() *TextContent {
1467 if x != nil {
1468 if x, ok := x.Type.(*Content_Text); ok {
1469 return x.Text
1470 }
1471 }
1472 return nil
1473}
1474
1475func (x *Content) GetImage() *ImageContent {
1476 if x != nil {

Callers 15

TestMultiFunction · 0.45
createLocalAgentFunction · 0.45
ConnectMethod · 0.45
handleSubagentCallMethod · 0.45
TestResumeConfirmationFunction · 0.45
RecoverA2AStateFunction · 0.45

Calls

no outgoing calls