OutputItemCodeInterpreterCallBuilder Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Scoped builder for a code interpreter tool call output item. Provides methods for the lifecycle events and streaming code deltas.
public class OutputItemCodeInterpreterCallBuilder : Azure.AI.AgentServer.Responses.OutputItemBuilder<Azure.AI.AgentServer.Responses.Models.OutputItemCodeInterpreterToolCall>
type OutputItemCodeInterpreterCallBuilder = class
inherit OutputItemBuilder<OutputItemCodeInterpreterToolCall>
Public Class OutputItemCodeInterpreterCallBuilder
Inherits OutputItemBuilder(Of OutputItemCodeInterpreterToolCall)
- Inheritance
Constructors
| Name | Description |
|---|---|
| OutputItemCodeInterpreterCallBuilder() |
Initializes a new instance of OutputItemCodeInterpreterCallBuilder for mocking. |
Properties
| Name | Description |
|---|---|
| ItemId |
The auto-generated item ID for this output item. (Inherited from OutputItemBuilder<T>) |
| OutputIndex |
The output index assigned to this output item. (Inherited from OutputItemBuilder<T>) |
Methods
| Name | Description |
|---|---|
| Code(IAsyncEnumerable<String>, CancellationToken) |
Convenience generator that yields the complete code sub-item event sequence from streaming chunks (S-053, streaming mode per S-054). Each chunk is emitted as a delta immediately (S-055). |
| Code(String) |
Convenience generator that yields the complete code sub-item event sequence from a single string (S-053, complete-text mode per S-054). |
| EmitAdded() |
Produces a |
| EmitAdded(T) |
Produces a |
| EmitCodeDelta(String) |
Produces a |
| EmitCodeDone(String) |
Produces a |
| EmitCompleted() |
Produces a |
| EmitDone() |
Produces a |
| EmitDone(T) |
Produces a |
| EmitInProgress() |
Produces a |
| EmitInterpreting() |
Produces a |