docs: Add OpenRouter-related docs & comments

This commit is contained in:
hycqwq 2025-05-03 21:37:01 +08:00
parent b8d9a5a604
commit 09b1faed17
3 changed files with 18 additions and 0 deletions

View File

@ -361,6 +361,14 @@ SiliconFlow API Key.
SiliconFlow API URL. SiliconFlow API URL.
### `OPENROUTER_API_KEY` (optional)
OpenRouter API Key.
### `OPENROUTER_URL` (optional)
OpenRouter API URL.
## Requirements ## Requirements
NodeJS >= 18, Docker >= 20 NodeJS >= 18, Docker >= 20

View File

@ -275,6 +275,14 @@ SiliconFlow API Key.
SiliconFlow API URL. SiliconFlow API URL.
### `OPENROUTER_API_KEY` (optional)
OpenRouter API Key.
### `OPENROUTER_URL` (optional)
OpenRouter API URL.
## 开发 ## 开发
点击下方按钮,开始二次开发: 点击下方按钮,开始二次开发:

View File

@ -682,6 +682,8 @@ const siliconflowModels = [
"Pro/deepseek-ai/DeepSeek-V3", "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 = [ const openrouterModels = [
"microsoft/phi-4-reasoning-plus:free", "microsoft/phi-4-reasoning-plus:free",
"microsoft/phi-4-reasoning-plus", "microsoft/phi-4-reasoning-plus",