Gates
Conversation state
Conversation state
Jobs are skipped when the conversation is already closed, escalated, or assigned to a person. This protects against delayed queue work producing an unwanted answer.
Email OTP
Email OTP
A six-digit response is checked against the active contact-verification flow. Codes are redacted from logs and successful identity context is added to the prompt.
FAQ fast path
FAQ fast path
Question-like text is embedded and searched against tenant FAQ vectors. Matches at or above
0.85 bypass the model and return the stored answer.Context and generation
The context builder combines the system prompt, recent messages, turn count, organization/company information, channel, current page context when permitted, visitor-field policy, and tool policy.CHAT_HISTORY_LIMIT bounds recent history, while longer-lived summaries can be retrieved through the memory tool.
The selected provider reports capabilities. Streaming is enabled only when supported, and tools are supplied only to models that support tool calling. The fallback router can try an ordered provider path and captures usage where available.
