HostPolicyRequest
Host-owned deterministic state supplied before one model invocation.
Class Diagram
Section titled “Class Diagram”---
title: HostPolicyRequest
config:
look: handDrawn
theme: colorful
class:
hideEmptyMembersBox: true
---
classDiagram
class HostPolicyRequest {
+string sessionId
+string turnId
+int32 iteration
+Message[] messages
+int32 stablePrefixMessages
+unknown inputs
}
class Message {
+string role
+ContentPart[] parts
+dictionary metadata
}
HostPolicyRequest *-- Message
Properties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| sessionId | string | Stable session identifier |
| turnId | string | Stable turn identifier |
| iteration | int32 | Zero-based model loop iteration |
| messages | Message[] | Canonical messages entering the invocation |
| stablePrefixMessages | int32 | Number of leading messages eligible for provider prefix-cache reuse |
| inputs | unknown | Turn inputs |
Composed Types
Section titled “Composed Types”The following types are composed within HostPolicyRequest: