Documentation
¶
Overview ¶
Package policy owns voice instructions shared by gateways and bundled offline engines.
The common policy covers voice behavior, quiet context updates, isolation between servers, and the selected output language. Clients add no behavioral prose and send no greeting or model turn on session.ready; the connected chime signals readiness. Network recovery replays the newest finalized transcript as "speaker: text" lines. Empty MCP server instructions are valid, so deploy the policy-owning gateway before rolling out clients that omit common policy.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Instructions string
Instructions is the immutable common voice policy template. SDK generation bundles these exact bytes for offline engines; clients do not maintain a second policy.
The template owns the prompt layout: the shared policy frames the session, {{instructions}} receives the server instructions, and the selected language comes last so server instructions cannot override it. Offline engines render it with the same rules as Render.
Functions ¶
Types ¶
This section is empty.