Class StatefulItem
public abstract class StatefulItem : ConversationItem, IPrompt
- Inheritance
-
objectStatefulItem
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
StatefulItem(string)
protected StatefulItem(string type)
Parameters
typestring
Properties
Status
Used by Responses API.
Unified status for all response items (messages, tool calls, searches, code-interpreter runs, generations, etc.).
Core lifecycle values (in_progress, completed, incomplete, failed) map directly to the OpenAI Responses API
and are populated when items are returned from the API.
Domain-phase values (searching, generating, interpreting, partial) are used by AIDevKit to represent more
detailed sub-states for search, tool execution, code interpretation, and streaming generation.
- For input messages (system, developer, user), this field is optional.
- For assistant output items (assistant messages, tools, searches, code interpreter, etc.), this field
is required when returned from the API or internal pipelines.
partialindicates a non-final, intermediate snapshot (e.g., while streaming).
public ItemStatus Status { get; set; }