Skip to content

Commit 5891785

Browse files
committed
docs(readme): clarify model definition and add usage example for undefined models
- Updated `README.md` and `README_CN.md` to include additional instructions on requesting undefined models using the `openrouter://` format. - Added example for `moonshotai/kimi-k2:free` usage.
1 parent ac3d47e commit 5891785

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ openai-compatibility:
415415
# api-keys:
416416
# - "sk-or-v1-...b780"
417417
# - "sk-or-v1-...b781"
418-
models: # The models supported by the provider.
418+
models: # The models supported by the provider. Or you can use a format such as openrouter://moonshotai/kimi-k2:free to request undefined models
419419
- name: "moonshotai/kimi-k2:free" # The actual model name.
420420
alias: "kimi-k2" # The alias used in the API.
421421
```

README_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ openai-compatibility:
428428
# api-keys:
429429
# - "sk-or-v1-...b780"
430430
# - "sk-or-v1-...b781"
431-
models: # 提供商支持的模型。
431+
models: # 提供商支持的模型。或者你可以使用类似 openrouter://moonshotai/kimi-k2:free 这样的格式来请求未在这里定义的模型
432432
- name: "moonshotai/kimi-k2:free" # 实际的模型名称。
433433
alias: "kimi-k2" # 在API中使用的别名。
434434
```

0 commit comments

Comments
 (0)