{% extends "base.html" %} {% block title %}Chat · Striatum{% endblock %} {% block main %}

Chat

{% if not chat_configured %}

Chat is not configured

Set the four chat-provider environment variables before starting striatum serve:

{% if not env_help %}export STRIATUM_CHAT_API_BASE_URL=https://api.anthropic.com
export STRIATUM_CHAT_API_KEY=sk-ant-...
export STRIATUM_CHAT_MODEL=claude-opus-4-5
export STRIATUM_CHAT_API_FLAVOR=anthropic_messages{% else %}{{ env_help }}{% endif %}

Two flavors are supported: anthropic_messages (Anthropic Messages API) and openai_chat (OpenAI / OpenAI-compatible providers including OpenRouter, Ollama, vLLM, LiteLLM proxy).

For HTTP (non-HTTPS) URLs, only loopback hosts (localhost, 127.*) are accepted. Remote endpoints must use HTTPS.

{% else %}

configured model: {{ model }} · flavor: {{ flavor }}

{% if mutations_allowed %}
{% else %}

Mutations are gated. Start the service with --allow-mutations to enable new chat sessions.

{% endif %} {% if sessions %}

Sessions

{% else %}

No chat sessions yet. Click "+ New Chat" to start one.

{% endif %} {% endif %}
{% endblock %}