MCPcopy Create free account
hub / github.com/aurora-develop/aurora / NewTextMessage

Function NewTextMessage

typings/official/request.go:216–218  ·  view source on GitHub ↗
(role, content string)

Source from the content-addressed store, hash-verified

214}
215
216func NewTextMessage(role, content string) APIMessage {
217 return APIMessage{Role: role, Content: MessageContent{TextValue: content}}
218}
219
220func (c *MessageContent) UnmarshalJSON(data []byte) error {
221 var text string

Calls

no outgoing calls