# The server rejects every non-loopback host. Keep this value unchanged. TAB2API_HOST=127.0.0.1 TAB2API_PORT=3210 # Optional 24-512 visible ASCII characters. If omitted, a random token is created at # .tab2api/api-token with restrictive permissions. # TAB2API_API_TOKEN=replace-with-a-long-random-secret TAB2API_DATA_DIR=.tab2api TAB2API_PROFILE_DIR=.tab2api/browser-profile TAB2API_HEADLESS=false # Parallel browser tabs. Keep 1 for maximum reliability; try 2 only after testing your account/UI. TAB2API_CONCURRENCY=1 TAB2API_QUEUE_CAPACITY=16 TAB2API_REQUEST_TIMEOUT_MS=120000 TAB2API_IMAGE_TIMEOUT_MS=300000 TAB2API_BODY_LIMIT_BYTES=262144 TAB2API_MEDIA_LIMIT_BYTES=10485760 # Run every turn in a ChatGPT Temporary Chat (nothing kept in account history) unless a # request passes `temporary:false`. Incompatible with conversation_id and project routes. TAB2API_TEMPORARY_CHAT=false # Preflight ceiling for one serialized message, in estimated o200k tokens. The default is # the largest measured single-message bound; lower it for accounts with smaller windows. TAB2API_MAX_PROMPT_TOKENS=104000 TAB2API_DEBUG=false TAB2API_LOG_LEVEL=info # Optional personal Cloudflare Tunnel hostname used by the Windows Access verification script. # TAB2API_TUNNEL_HOSTNAME=tab2api.example.com