diff --git a/out/cli.cjs b/out/cli.cjs index 321918a..8d8e600 100755 --- a/out/cli.cjs +++ b/out/cli.cjs @@ -30691,14 +30691,7 @@ var MODEL_LIST = { "claude-3-5-sonnet-20240620", "claude-3-opus-20240229", "claude-3-sonnet-20240229", - "claude-3-haiku-20240307" - ], - gemini: [ - "gemini-1.5-flash", - "gemini-1.5-pro", - "gemini-1.0-pro", - "gemini-pro-vision", - "text-embedding-004" + "claude-3-opus-20240229" ] }; var getDefaultModel = (provider4) => { diff --git a/out/github-action.cjs b/out/github-action.cjs index 2852961..c945dee 100644 --- a/out/github-action.cjs +++ b/out/github-action.cjs @@ -49501,7 +49501,7 @@ var MODEL_LIST = { "claude-3-5-sonnet-20240620", "claude-3-opus-20240229", "claude-3-sonnet-20240229", - "claude-3-haiku-20240307" + "claude-3-opus-20240229" ], gemini: [ "gemini-1.5-flash", diff --git a/src/commands/config.ts b/src/commands/config.ts index 001a426..48e8bd1 100644 --- a/src/commands/config.ts +++ b/src/commands/config.ts @@ -423,7 +423,7 @@ export const getConfig = ({ OCO_GITPUSH: process.env.OCO_GITPUSH === 'false' ? false : true, OCO_ONE_LINE_COMMIT: process.env.OCO_ONE_LINE_COMMIT === 'true' ? true : false, - OCO_AZURE_ENDPOINT: process.env.OCO_AZURE_ENDPOINT || '', + OCO_AZURE_ENDPOINT: process.env.OCO_AZURE_ENDPOINT || undefined, OCO_TEST_MOCK_TYPE: process.env.OCO_TEST_MOCK_TYPE || 'commit-message', OCO_FLOWISE_ENDPOINT: process.env.OCO_FLOWISE_ENDPOINT || ':', OCO_FLOWISE_API_KEY: process.env.OCO_FLOWISE_API_KEY || 'undefined' diff --git a/src/i18n/zh_CN.json b/src/i18n/zh_CN.json index 897ffc1..8a25af3 100644 --- a/src/i18n/zh_CN.json +++ b/src/i18n/zh_CN.json @@ -1,6 +1,6 @@ { "localLanguage": "简体中文", - "commitFix": "修复(server.ts):将端口变量从小写port改为大写PORT", - "commitFeat": "功能(server.ts):添加对process.env.PORT环境变量的支持", + "commitFix": "fix(server.ts):将端口变量从小写port改为大写PORT", + "commitFeat": "feat(server.ts):添加对process.env.PORT环境变量的支持", "commitDescription": "现在端口变量被命名为PORT,这提高了命名约定的一致性,因为PORT是一个常量。环境变量的支持使应用程序更加灵活,因为它现在可以通过process.env.PORT环境变量在任何可用端口上运行。" }