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.
Class Diagram
Section titled “Class Diagram”---
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
Yaml Example
Section titled “Yaml Example”invocationId: inv_abc123message: provider connection dropped after request was sentProperties
Section titled “Properties”| 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 |
Composed Types
Section titled “Composed Types”The following types are composed within ModelReconciliationState: