Providers
Current status
The TypeScript provider surface covers openai-responses, openai-chat-completions, and anthropic-messages. TokenDance Gateway is reached through the OpenAI-compatible Chat Completions adapter; Gateway model calls use TokenDance API keys, while TokenDanceID/OIDC tokens belong to the identity-session plane.
Environment variables
OpenAI Responses uses OPENAI_API_KEY; Anthropic-compatible Messages uses ANTHROPIC_API_KEY; Chat Completions/Gateway prefers TOKENDANCE_GATEWAY_API_KEY and can fall back to OPENAI_API_KEY. The Gateway default base URL is https://api.tokendancelab.com/v1, and real-provider smoke requires explicit opt-in.
$env:TOKENDANCE_RUN_REAL_PROVIDER_SMOKE = "1"
$env:TOKENDANCE_GATEWAY_API_KEY = "your-gateway-key"
$env:TOKENDANCE_OPENAI_CHAT_TEST_MODEL = "deepseek-v4-pro"
pnpm smoke:gateway