Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/lobehub/lobe-chat
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Sep 28, 2024
2 parents 111f5db + 9aa1712 commit 6d67dd1
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/self-hosting/advanced/feature-flags.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@ You can achieve various feature combinations using the above configuration synta
| `market` | Enables the assistant market functionality. | Enabled |
| `speech_to_text` | Enables speech-to-text functionality. | Enabled |
| `knowledge_base` | Enables the knowledge base functionality. | Enabled |
| `clerk_sign_up` | Enables the Clerk SignUp functionality. | Enabled |

You can always check the [featureFlags](https://github.com/lobehub/lobe-chat/blob/main/src/config/featureFlags/schema.ts) to get the latest list of feature flags.
1 change: 1 addition & 0 deletions docs/self-hosting/advanced/feature-flags.zh-CN.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ tags:
| `market` | 启用助手市场功能。 | 开启 |
| `speech_to_text` | 启用语音转文本功能。 | 开启 |
| `knowledge_base` | 启用知识库功能。 | 开启 |
| `clerk_sign_up` | 启用Clerk注册功能。 | 开启 |

你可以随时检查 [featureFlags](https://github.com/lobehub/lobe-chat/blob/main/src/config/featureFlags/schema.ts) 以获取最新的特性标志列表。
16 changes: 16 additions & 0 deletions docs/self-hosting/environment-variables/model-provider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -479,4 +479,20 @@ If you need to use Azure OpenAI to provide model services, you can refer to the
- Default: -
- Example: `xxxxxx...xxxxxx`

## HUNYUAN

### `HUNYUAN_API_KEY`

- Type: Required
- Description: This is the API key you applied from HUNYUAN service
- Default: -
- Example: `xxxxxx...xxxxxx`

### `HUNYUAN_MODEL_LIST`

- Type: Optional
- Description: Used to control the model list, use `+` to add a model, use `-` to hide a model, use `model_name=display_name` to customize the display name of a model, separated by commas. Definition syntax rules see [model-list][model-list]
- Default: `-`
- Example: `-all,+hunyuan-lite,+hunyuan-standard`

[model-list]: /docs/self-hosting/advanced/model-list
16 changes: 16 additions & 0 deletions docs/self-hosting/environment-variables/model-provider.zh-CN.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -477,4 +477,20 @@ LobeChat 在部署时提供了丰富的模型服务商相关的环境变量,
- 默认值:-
- 示例:`xxxxxx...xxxxxx`

## 腾讯混元

### `HUNYUAN_API_KEY`

- 类型:必选
- 描述:这是你在 腾讯混元 服务中申请的 API 密钥
- 默认值:-
- 示例:`xxxxxx...xxxxxx`

### `HUNYUAN_MODEL_LIST`

- 类型:可选
- 描述:用来控制模型列表,使用 `+` 增加一个模型,使用 `-` 来隐藏一个模型,使用 `模型名=展示名<扩展配置>` 来自定义模型的展示名,用英文逗号隔开。模型定义语法规则见 [模型列表][model-list]
- 默认值:`-`
- 示例:`-all,+hunyuan-lite,+hunyuan-standard`

[model-list]: /zh/docs/self-hosting/advanced/model-list

0 comments on commit 6d67dd1

Please sign in to comment.