MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / IsStringContent

Method IsStringContent

dto/claude.go:108–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106}
107
108func (c *ClaudeMessage) IsStringContent() bool {
109 if c.Content == nil {
110 return false
111 }
112 _, ok := c.Content.(string)
113 return ok
114}
115
116func (c *ClaudeMessage) GetStringContent() string {
117 if c.Content == nil {

Callers 5

ClaudeToOpenAIRequestFunction · 0.45
CountTokenClaudeMessagesFunction · 0.45
requestOpenAI2OllamaFunction · 0.45
requestOpenAI2ZhipuFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected