vibe.assistant.interview_mode

Interview mode extension for VIBE Assistant.

Registers the 'assistant' interview mode which provides a conversational AI workbench interface instead of the standard interview form.

AssistantModeExtension

Interview mode extension for AI-assisted drafting.

The assistant mode provides a conversational interface where an AI assistant guides the user through document creation. Unlike standard mode, it skips the traditional question form and preview, instead showing a chat-based workbench.

get_layout_template

get_layout_template() -> str

Return the assistant workbench layout template.

handle_start

handle_start(template: TemplateData, version: str | None) -> Response | None

Use standard interview flow with assistant layout.

Unlike review mode, assistant mode uses the normal interview page rendering but with a different layout and context.

Returns:
  • Response | None

    None to use standard interview rendering.

get_template_context

get_template_context(template: TemplateData, base_context: dict[str, Any]) -> dict[str, Any]

Add assistant-specific context flags.

Signals to the rendering code that assistant mode should: - Skip question form rendering - Skip preview rendering - Use the assistant workbench layout

Parameters:
  • template (TemplateData) –

    The TemplateData being rendered.

  • base_context (dict[str, Any]) –

    Standard context dict.

Returns:
  • dict[str, Any]

    Context with assistant mode flags.

register_assistant_interview_mode

register_assistant_interview_mode() -> None

Register the assistant interview mode extension.