The preferred way to provide your OpenRouter API key is via an environment variable:
export AI_API_KEY=your-key-hereOr in IntelliJ via Edit Configurations → Environment Variables.
Alternatively, the app can be launched without a key and one can be provided at runtime via the settings panel in the web UI at http://localhost:8080.
To change which LLM model is used, update ai.api.model in application.properties: