CodeExecutionResultPart
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
public struct CodeExecutionResultPart : PartThe result of executing code.
-
The outcome of a code execution.
Declaration
Swift
public struct Outcome : Sendable, Equatable, CustomStringConvertible -
The outcome of the code execution.
Declaration
Swift
public var outcome: CodeExecutionResultPart.Outcome { get } -
The output of the code execution.
Declaration
Swift
public var output: String? { get } -
Declaration
Swift
public var isThought: Bool { get } -
Undocumented
Declaration
Swift
public init(outcome: CodeExecutionResultPart.Outcome, output: String)