diff --git a/README.md b/README.md index d0a6b409d..55c4e1326 100644 --- a/README.md +++ b/README.md @@ -361,6 +361,14 @@ SiliconFlow API Key. SiliconFlow API URL. +### `OPENROUTER_API_KEY` (optional) + +OpenRouter API Key. + +### `OPENROUTER_URL` (optional) + +OpenRouter API URL. + ## Requirements NodeJS >= 18, Docker >= 20 diff --git a/README_CN.md b/README_CN.md index 5576231cc..fe52a1017 100644 --- a/README_CN.md +++ b/README_CN.md @@ -275,6 +275,14 @@ SiliconFlow API Key. SiliconFlow API URL. +### `OPENROUTER_API_KEY` (optional) + +OpenRouter API Key. + +### `OPENROUTER_URL` (optional) + +OpenRouter API URL. + ## 开发 点击下方按钮,开始二次开发: diff --git a/app/constant.ts b/app/constant.ts index 940ca8a2e..e3a265dfb 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -682,6 +682,8 @@ const siliconflowModels = [ "Pro/deepseek-ai/DeepSeek-V3", ]; +// Use this to generate newest model list -> https://gist.github.com/hyc1230/d4b271d161ffcda485f1fa1a27e08096 +// Current list is generated on 2025/05/03 const openrouterModels = [ "microsoft/phi-4-reasoning-plus:free", "microsoft/phi-4-reasoning-plus",