MCPcopy Create free account
hub / github.com/ForestHubAI/edge-agents / String

Method String

go/llmproxy/input.go:29–29  ·  view source on GitHub ↗

String returns a human-readable representation of the item, including its type. This is used to serialize the item as plain text if the model only supports a single message type.

()

Source from the content-addressed store, hash-verified

27 // String returns a human-readable representation of the item, including its type.
28 // This is used to serialize the item as plain text if the model only supports a single message type.
29 String() string
30
31 // isInputItem is a marker method that seals the interface.
32 isInputItem()

Callers 15

StringMethod · 0.65
ToStrictJSONSchemaFunction · 0.65
toGeminiContentsFunction · 0.65
toLocalRequestFunction · 0.65
UploadFileMethod · 0.65
toMistralRequestFunction · 0.65
toAnthropicMessagesFunction · 0.65
extractContentFunction · 0.65
toOpenAIRequestFunction · 0.65
toOpenAIInputFunction · 0.65
TestWireFunction · 0.65
TestTransition_ApplyFunction · 0.65

Implementers 4

ToolCallRequestgo/llmproxy/tools.go
ToolResultgo/llmproxy/tools.go
MockInputItemgo/llmproxy/mocks_test.go
MockInputItem_Expectergo/llmproxy/mocks_test.go

Calls

no outgoing calls

Tested by 4

TestWireFunction · 0.52
TestTransition_ApplyFunction · 0.52