encodeResultToString

open override fun encodeResultToString(result: ToolResult.Text): String(source)

Encodes the given result of type TResult to its string representation for the LLM.s

Return

The string representation of the given result.

Parameters

result

The result object of type TResult to be encoded into a string.