MCPcopy Create free account
hub / github.com/QuantumNous/new-api / SetStringContent

Method SetStringContent

dto/openai_request.go:509–512  ·  view source on GitHub ↗
(content string)

Source from the content-addressed store, hash-verified

507}
508
509func (m *Message) SetStringContent(content string) {
510 m.Content = content
511 m.parsedContent = nil
512}
513
514func (m *Message) SetMediaContent(content []MediaContent) {
515 m.Content = content

Calls

no outgoing calls

Tested by

no test coverage detected