chore: update config and env templates for OpenRouter
This commit is contained in:
@@ -31,12 +31,12 @@ REFRESH_INTERVAL_MINUTES=15
|
|||||||
|
|
||||||
# === LLM Layer (optional) ===
|
# === LLM Layer (optional) ===
|
||||||
# Enables AI-enhanced trade ideas and breaking news Telegram alerts.
|
# 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=
|
LLM_PROVIDER=
|
||||||
# Not needed for codex (uses ~/.codex/auth.json)
|
# Not needed for codex (uses ~/.codex/auth.json)
|
||||||
LLM_API_KEY=
|
LLM_API_KEY=
|
||||||
# Optional override. Each provider has a sensible default:
|
# 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=
|
LLM_MODEL=
|
||||||
|
|
||||||
# === Telegram Alerts (optional, requires LLM) ===
|
# === Telegram Alerts (optional, requires LLM) ===
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export default {
|
|||||||
refreshIntervalMinutes: parseInt(process.env.REFRESH_INTERVAL_MINUTES) || 15,
|
refreshIntervalMinutes: parseInt(process.env.REFRESH_INTERVAL_MINUTES) || 15,
|
||||||
|
|
||||||
llm: {
|
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,
|
apiKey: process.env.LLM_API_KEY || null,
|
||||||
model: process.env.LLM_MODEL || null,
|
model: process.env.LLM_MODEL || null,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user