-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 重命名配置参数以提高可读性和一致性 - 增加新的 AI 提供商选项(ZhipuAI、DashScope、Doubao) - 修改配置项目录结构,将 scripts 移至 src 目录下 - 优化错误提示信息的可读性 - 删除冗余的配置文件更新脚本
- Loading branch information
1 parent
cf8654b
commit 27848c2
Showing
7 changed files
with
190 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// This file is auto-generated, do not edit manually | ||
export const CONFIG_KEYS = { | ||
"BASE": "dish-ai-commit.base", | ||
"BASE_LANGUAGE": "dish-ai-commit.base.language", | ||
"BASE_SYSTEMPROMPT": "dish-ai-commit.base.systemPrompt", | ||
"BASE_PROVIDER": "dish-ai-commit.base.provider", | ||
"BASE_MODEL": "dish-ai-commit.base.model", | ||
"PROVIDERS": "dish-ai-commit.providers", | ||
"PROVIDERS_OPENAI": "dish-ai-commit.providers.openai", | ||
"PROVIDERS_OPENAI_APIKEY": "dish-ai-commit.providers.openai.apiKey", | ||
"PROVIDERS_OPENAI_BASEURL": "dish-ai-commit.providers.openai.baseUrl", | ||
"PROVIDERS_ZHIPUAI": "dish-ai-commit.providers.zhipuai", | ||
"PROVIDERS_ZHIPUAI_APIKEY": "dish-ai-commit.providers.zhipuai.apiKey", | ||
"PROVIDERS_DASHSCOPE": "dish-ai-commit.providers.dashscope", | ||
"PROVIDERS_DASHSCOPE_APIKEY": "dish-ai-commit.providers.dashscope.apiKey", | ||
"PROVIDERS_DOUBAO": "dish-ai-commit.providers.doubao", | ||
"PROVIDERS_DOUBAO_APIKEY": "dish-ai-commit.providers.doubao.apiKey", | ||
"PROVIDERS_OLLAMA": "dish-ai-commit.providers.ollama", | ||
"PROVIDERS_OLLAMA_BASEURL": "dish-ai-commit.providers.ollama.baseUrl", | ||
"FEATURES": "dish-ai-commit.features", | ||
"FEATURES_CODEANALYSIS": "dish-ai-commit.features.codeAnalysis", | ||
"FEATURES_CODEANALYSIS_SIMPLIFYDIFF": "dish-ai-commit.features.codeAnalysis.simplifyDiff", | ||
"FEATURES_CODEANALYSIS_MAXLINELENGTH": "dish-ai-commit.features.codeAnalysis.maxLineLength", | ||
"FEATURES_CODEANALYSIS_CONTEXTLINES": "dish-ai-commit.features.codeAnalysis.contextLines", | ||
"FEATURES_COMMITFORMAT": "dish-ai-commit.features.commitFormat", | ||
"FEATURES_COMMITFORMAT_ENABLEMERGECOMMIT": "dish-ai-commit.features.commitFormat.enableMergeCommit", | ||
"FEATURES_COMMITFORMAT_ENABLEEMOJI": "dish-ai-commit.features.commitFormat.enableEmoji" | ||
} as const; |
Oops, something went wrong.