BashCodeExecutionContent

@JsonSerializable
@Polymorphic(labelKey = "type")
sealed class BashCodeExecutionContent(source)

Inheritors

Types

Link copied to clipboard
@JsonSerializable
@PolymorphicLabel(value = "bash_code_execution_result")
data class Executed(val stdout: String? = null, val stderr: String? = null, val return_code: Int? = null, val content: List<BashCodeExecutionOutput> = emptyList()) : BashCodeExecutionContent
Link copied to clipboard
@JsonSerializable
@PolymorphicLabel(value = "bash_code_execution_tool_result_error")
data class Failed(val error_code: ErrorCode) : BashCodeExecutionContent