Skip to content

Commit

Permalink
ℹ️ fix: update image link in basic.md files
Browse files Browse the repository at this point in the history
Updated the image link in both Chinese and English versions of basic.md
files to point to the correct location. Fixes display issue.
  • Loading branch information
sudoskys committed May 1, 2024
1 parent 6c2b8d9 commit 6108606
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/en/guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ Login can be done in two ways.
- `Login via url`: Use `/login <a token>$<something like https://provider.com/login>` to Login. The program posts the token to the interface to retrieve configuration information. [How to develop this](https://github.com/LlmKira/Openaibot/blob/81eddbff0f136697d5ad6e13ee1a7477b26624ed/app/components/credential.py#L20).
- `Login`: Use `/login https://<api endpoint>/v1$<api key>$<the model>$<tool model such as gpt-3.5-turbo>` to login.

Alternatively, you can configure a global model to be used by users who haven't logged in.
Alternatively, you can configure a global model in the `.env` file, to be used by users who haven't logged in.

```dotenv
GLOBAL_OAI_KEY=sk-xxx
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ KOOK_BOT_TOKEN = 1234567890:ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890
information, [how to develop this](https://github.com/LlmKira/Openaibot/blob/81eddbff0f136697d5ad6e13ee1a7477b26624ed/app/components/credential.py#L20).
- `Login`: Use `/login https://<api endpoint>/v1$<api key>$<the model>$<tool model such as gpt-3.5-turbo>` to login

当然,你可以配置全局模型,给没有登陆的用户使用。
当然,你可以在 `.env` 文件中配置全局模型,给没有登陆的用户使用。

```dotenv
GLOBAL_OAI_KEY=sk-xxx
Expand Down

0 comments on commit 6108606

Please sign in to comment.