Skip to content
Prompty

ModelReconciliationState

Durable state required to reconcile one indeterminate model invocation.

Retained when a model effect completed with an unknown outcome so a resumed run can determine success or failure without re-invoking the provider.

---
title: ModelReconciliationState
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class ModelReconciliationState {
        +string invocationId
        +ModelInvocationRequest request
        +int32 failedAttempt
        +string message
        +dictionary metadata
    }
    class ModelInvocationRequest {
        +ModelInvocationContextSnapshot context
    }
    ModelReconciliationState *-- ModelInvocationRequest
invocationId: inv_abc123
message: provider connection dropped after request was sent
Name Type Description
invocationId string Model invocation identifier awaiting reconciliation
request ModelInvocationRequest The request whose outcome must be reconciled
failedAttempt int32 Zero-based attempt number that failed with an unknown outcome
message string Human-readable reason the outcome is indeterminate
metadata dictionary Opaque host-specific reconciliation metadata

The following types are composed within ModelReconciliationState: