Skip to content

Commit effe495

Browse files
committed
docs(readme): Update README with OpenAI and Bito configuration instructions
- Configured OpenAI API key for both OpenAI chat and OpenAI generators - Added optional Bito path configuration for generators - Followed best practices for writing commit messages
1 parent 3837451 commit effe495

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README-zh_CN.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ composer require guanguans/ai-commit --dev -v
5050
### 快速开始
5151

5252
```shell
53-
# 配置 OpenAI API key(https://platform.openai.com/account/api-keys)
54-
./ai-commit config set generators.openaichat.api_key sk-... --global
55-
./ai-commit config set generators.openai.api_key sk-... --global
53+
./ai-commit config set generators.openaichat.api_key sk-... --global # 配置 OpenAI API key
54+
./ai-commit config set generators.openai.api_key sk-... --global # 配置 OpenAI API key
55+
./ai-commit config set generators.bito.path bito-path... --global # 配置 Bito 路径(可选)
5656

5757
# 生成且提交信息
5858
./ai-commit commit

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ composer require guanguans/ai-commit --dev -v
5050
### Quick start
5151

5252
```shell
53-
# Config OpenAI API key(https://platform.openai.com/account/api-keys)
54-
./ai-commit config set generators.openaichat.api_key sk-... --global
55-
./ai-commit config set generators.openai.api_key sk-... --global
53+
./ai-commit config set generators.openaichat.api_key sk-... --global # Config OpenAI API key
54+
./ai-commit config set generators.openai.api_key sk-... --global # Config OpenAI API key
55+
./ai-commit config set generators.bito.path bito-path... --global # Config Bito path(Optional)
5656

5757
# Generate and commit message
5858
./ai-commit commit

0 commit comments

Comments
 (0)