unique-aicommit
v1.0.20
Published
A tool to generate standardized commit messages using AI.
Downloads
87
Readme
安装
npm install -g unique-aicommit
用法
支持的 AI 模型:
获取 API 密钥 👆
选择 AI 模型
aicommit config set AI_PROVIDER=deepseek
or
aicommit config set AI_PROVIDER=moonshot
or
aicommit config set AI_PROVIDER=deepbricks
设置 API:
aicommit config set DeepSeek_KEY=<your token>
or
aicommit config set Moonshot_KEY=<your token>
or
aicommit config set Deepbricks_KEY=<your token>
在你的 git 仓库中,运行:
aicommit
演示:
获取配置值
获取完整配置:
aicommit config list
要获取指定配置选项,请使用以下命令:
aicommit config get <key>
例如,要检索 API 密钥:
aicommit config get DeepSeek_KEY
参考 aicommits