Skip to content
Prompty

HostPolicyRequest

Host-owned deterministic state supplied before one model invocation.

---
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
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

The following types are composed within HostPolicyRequest: