namespace OpenAI.Assistants;
[CodeGenModel("RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject")]
public partial class RunStepUpdateCodeInterpreterOutput
{
/// <inheritdoc cref="InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.Index"/>
public int OutputIndex => AsLogs?.Index ?? AsImage?.Index ?? 0;
/// <inheritdoc cref="InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.InternalLogs"/>
public string Logs => AsLogs?.Logs;
/// <inheritdoc cref="InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage.FileId"/>
public string ImageFileId => AsImage?.Image?.FileId;
private InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject AsLogs
=> this as InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject;
private InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject AsImage
=> this as InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject;
}openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
src/Custom/Assistants/Streaming/RunStepDetailsUpdateCodeInterpreterOutput.cs
19lines · modepreview