vigiles API reference
    Preparing search index...

    Function renderResponsesSSE

    • Render the PROVEN OpenAI-Responses SSE event sequence for a single assistant text message — response.created through response.completed. This exact sequence is confirmed to make real codex complete a turn. Pure and exported so the renderer is testable without the HTTP server.

      Parameters

      • text: string
      • opts: { model?: string } = {}

      Returns string