five-on-it / apps/creator/src/config
apps/creator/src/config
The creator runner's configuration, read from the environment once at start.
| Variable | Default | What |
|---|---|---|
FOI_CREATOR | off | fake (the scripted model, fake-model.ts), openrouter or claude (Anthropic's API, claude.ts); off runs nothing. |
FOI_CREATOR_SECRET | The runners' secret the API shares (16 characters at least). | |
FOI_API_URL | http://localhost:8080 | The platform API, straight (never through the stack's proxy). |
FOI_WEB_URL | http://localhost:5173 | The web client, which the tools' links point at. |
FOI_CREATOR_CONCURRENCY | 1 | How many creations this process runs at once. |
FOI_CREATOR_FAKE_DELAY_MS | 400 | How long each turn of the scripted model takes. |
FOI_CREATOR_FAKE_BLURB | its own | The blurb the scripted model writes into its games (the tests' blocked word, to see moderation refuse it). |
OPENROUTER_API_KEY | OpenRouter's key, for openrouter (the platform's own; never a creator's). | |
ANTHROPIC_API_KEY | Anthropic's key, for claude (the platform's own; never a creator's). | |
FOI_CREATOR_MODELS | google/gemini-2.5-flash,openai/gpt-4.1-mini; with claude, claude-haiku-5-5 | The models, the first asked and the others its fallbacks, until the evals choose (npm run creator:eval); their prices are OpenRouter's, read at start, or Anthropic's list prices (claude.ts). |
FOI_CREATOR_PRICE | With claude, the price of a model the list does not know: dollars a million tokens in and out (1,5). |