Skip to content

Commit 2803a91

Browse files
author
ji-jinlong
authored
readme 添加 DEFAULT_MODEL 参数 (#4915)
* README_CN.md 添加 DEFAULT_MODEL 的说明 更改默认模型, 很久之前就有大佬支持了, 但更多人只会看readme, readme没有的就以为不支持(包括我). #4545 * Update README.md Change default model, it has been supported by experts long ago, but more people only read the readme. If it's not in the readme, they assume it's not supported (including me). #4545 * Update README.md ch to en * en2cn * 保持位置和readme.md一致
1 parent cf2fce7 commit 2803a91

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,10 @@ To control custom models, use `+` to add a custom model, use `-` to hide a model
245245

246246
User `-all` to disable all default models, `+all` to enable all default models.
247247

248+
### `DEFAULT_MODEL` (optional)
249+
250+
Change default model
251+
248252
### `WHITE_WEBDEV_ENDPOINTS` (optional)
249253

250254
You can use this option if you want to increase the number of webdav service addresses you are allowed to access, as required by the format:

README_CN.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,23 +106,23 @@ Azure 密钥。
106106

107107
Azure Api 版本,你可以在这里找到:[Azure 文档](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions)
108108

109-
### `GOOGLE_API_KEY` (optional)
109+
### `GOOGLE_API_KEY` (可选)
110110

111111
Google Gemini Pro 密钥.
112112

113-
### `GOOGLE_URL` (optional)
113+
### `GOOGLE_URL` (可选)
114114

115115
Google Gemini Pro Api Url.
116116

117-
### `ANTHROPIC_API_KEY` (optional)
117+
### `ANTHROPIC_API_KEY` (可选)
118118

119119
anthropic claude Api Key.
120120

121-
### `ANTHROPIC_API_VERSION` (optional)
121+
### `ANTHROPIC_API_VERSION` (可选)
122122

123123
anthropic claude Api version.
124124

125-
### `ANTHROPIC_URL` (optional)
125+
### `ANTHROPIC_URL` (可选)
126126

127127
anthropic claude Api Url.
128128

@@ -156,7 +156,12 @@ anthropic claude Api Url.
156156
157157
用来控制模型列表,使用 `+` 增加一个模型,使用 `-` 来隐藏一个模型,使用 `模型名=展示名` 来自定义模型的展示名,用英文逗号隔开。
158158

159+
### `DEFAULT_MODEL` (可选)
160+
161+
更改默认模型
162+
159163
### `DEFAULT_INPUT_TEMPLATE` (可选)
164+
160165
自定义默认的 template,用于初始化『设置』中的『用户输入预处理』配置项
161166

162167
## 开发

0 commit comments

Comments
 (0)