chore: update config and env templates for OpenRouter

This commit is contained in:
dan
2026-03-16 20:16:48 +00:00
parent ea2e13e0c5
commit 79dc1fd287
2 changed files with 3 additions and 3 deletions

View File

@@ -31,12 +31,12 @@ REFRESH_INTERVAL_MINUTES=15
# === LLM Layer (optional) ===
# Enables AI-enhanced trade ideas and breaking news Telegram alerts.
# Provider options: anthropic | openai | gemini | codex
# Provider options: anthropic | openai | gemini | codex | openrouter
LLM_PROVIDER=
# Not needed for codex (uses ~/.codex/auth.json)
LLM_API_KEY=
# Optional override. Each provider has a sensible default:
# anthropic: claude-sonnet-4-6 | openai: gpt-5.4 | gemini: gemini-3.1-pro | codex: gpt-5.3-codex
# anthropic: claude-sonnet-4-6 | openai: gpt-5.4 | gemini: gemini-3.1-pro | codex: gpt-5.3-codex | openrouter: openrouter/auto
LLM_MODEL=
# === Telegram Alerts (optional, requires LLM) ===

View File

@@ -7,7 +7,7 @@ export default {
refreshIntervalMinutes: parseInt(process.env.REFRESH_INTERVAL_MINUTES) || 15,
llm: {
provider: process.env.LLM_PROVIDER || null, // anthropic | openai | gemini | codex
provider: process.env.LLM_PROVIDER || null, // anthropic | openai | gemini | codex | openrouter
apiKey: process.env.LLM_API_KEY || null,
model: process.env.LLM_MODEL || null,
},