{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":610217037,"defaultBranch":"master","name":"opencommit","ownerLogin":"di-sukharev","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-03-06T10:30:51.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/57486732?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1716654192.0","currentOid":""},"activityList":{"items":[{"before":"73ccae9de3c649c1e5b1554fd1dc42232ef41420","after":"8361dc683892d38723eb3616b3763e616d3b31c5","ref":"refs/heads/dev","pushedAt":"2024-07-04T08:08:44.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"docs: spelling fix (#325)","shortMessageHtmlLink":"docs: spelling fix (#325)"}},{"before":"c58e0c62a4a72fefc2aa9d3aa3e64c7c89601ffa","after":"73ccae9de3c649c1e5b1554fd1dc42232ef41420","ref":"refs/heads/dev","pushedAt":"2024-07-04T08:08:08.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"🐛Fix: prompt-module/@commitlint (#336)\n\n* fix(commitlint/utils.ts): correct variable used in search for JSON block end tag\r\n\r\n* ♻️ (commitlint/config.ts & pwd-commitlint.ts): Refactor commitlint config loading to support both CJS and ESM modules\r\n\r\n💡 (pwd-commitlint.ts): Add detailed comments and error handling for better clarity and robustness in commitlint module loading process\r\n\r\n* ✨ (package.json): Add setup script for e2e tests to install dependencies for commitlint configurations\r\n🔧 (setup.sh): Add shell script to set up commitlint configurations for e2e tests\r\n\r\n* ✨ (config.ts): Add support for OCO_TEST_MOCK_TYPE configuration key to define test mock type for testing purposes\r\n📝 (config.ts): Update documentation for OCO_TEST_MOCK_TYPE configuration key in configValidators and getConfig functions\r\n📝 (testAi.ts): Add TEST_MOCK_TYPES constant array to define supported test mock types\r\n📝 (testAi.ts): Update generateCommitMessage function to use OCO_TEST_MOCK_TYPE from config for different test mock types\r\n📝 (commitlint.test.ts): Add e2e test for running \"oco commitlint force\" with different @commitlint versions using CJS and ESM\r\n📝 (utils.ts): Add wait function to introduce delay in milliseconds for testing purposes\r\n\r\n* ✨ (commitlint.test.ts): refactor setupCommitlint function to accept a version parameter for better code organization and readability\r\n📝 (commitlint.test.ts): add test case for commitlint@9 using CJS to ensure proper functionality and compatibility\r\n📝 (commitlint.test.ts): add test case for commitlint@18 using CJS to ensure proper functionality and compatibility\r\n📝 (commitlint.test.ts): add test case for commitlint@19 using ESM to ensure proper functionality and compatibility\r\n\r\n* 🔧 (commitlint.test.ts): remove unnecessary commands to create and add index.ts file before running tests\r\n\r\n* refactor(test/e2e/prompt-module/commitlint.test.ts): remove unused import configure\r\nstyle(test/e2e/prompt-module/commitlint.test.ts): add missing semicolon for consistency\r\ntest(test/e2e/prompt-module/commitlint.test.ts): add e2e tests for @commitlint prompt-module integration\r\n\r\n* ✨ (e2e tests): add package.json copying to setupCommitlint for version accuracy\r\n♻️ (commitlint config): refactor commitlint.config.js to use ES module syntax\r\n✨ (package.json): specify \"type\": \"module\" to support ES module syntax","shortMessageHtmlLink":"🐛Fix: prompt-module/@commitlint (#336)"}},{"before":"a4b4e6501120f89e6dc05b87f5e2929833795e21","after":"c58e0c62a4a72fefc2aa9d3aa3e64c7c89601ffa","ref":"refs/heads/dev","pushedAt":"2024-07-04T08:03:54.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"Feat/add gemini (#349)","shortMessageHtmlLink":"Feat/add gemini (#349)"}},{"before":"c5ee5cd8dfa5b2aad3b9b657832ea296aa0ae080","after":"a4b4e6501120f89e6dc05b87f5e2929833795e21","ref":"refs/heads/dev","pushedAt":"2024-07-04T08:03:17.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"📝 (README.md): add support for custom AI models and update documentation to reflect new environment variable OCO_ AI_PROVIDER (#351)","shortMessageHtmlLink":"📝 (README.md): add support for custom AI models and update documentat…"}},{"before":"fef25a2d069dc212dd3267d8e58480e671260039","after":"18f52772b3f84ded493fbdb968f4fec13880ea20","ref":"refs/heads/master","pushedAt":"2024-07-02T17:59:55.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"Make endpoint url for Ollama configurable (#355)","shortMessageHtmlLink":"Make endpoint url for Ollama configurable (#355)"}},{"before":"41330d55179201f6ba45077f663c367fea20fa9b","after":"fef25a2d069dc212dd3267d8e58480e671260039","ref":"refs/heads/master","pushedAt":"2024-05-25T16:23:10.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"build","shortMessageHtmlLink":"build"}},{"before":"a703fde7b2e8787d13c5398c52272f337f1af385","after":"41330d55179201f6ba45077f663c367fea20fa9b","ref":"refs/heads/master","pushedAt":"2024-05-25T16:22:32.000Z","pushType":"push","commitsCount":14,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"Merge branch 'master' of github.com:di-sukharev/opencommit","shortMessageHtmlLink":"Merge branch 'master' of github.com:di-sukharev/opencommit"}},{"before":"7ddbaf477ab08cceede5ff5ddd4dd9329a32a62c","after":"a703fde7b2e8787d13c5398c52272f337f1af385","ref":"refs/heads/master","pushedAt":"2024-05-25T16:21:51.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"release candidate (#348)\n\n* test: ✅ add the first E2E test and configuration to CI (#316)\r\n\r\n* add tests\r\n\r\n* Add push config (#220)\r\n\r\n* feat: add instructions and support for configuring gpt-4-turbo (#320)\r\n\r\n* 3.0.12\r\n\r\n* build\r\n\r\n* feat: add 'gpt-4-turbo' to supported models in README and config validation\r\n\r\n---------\r\n\r\nCo-authored-by: di-sukharev \r\n\r\n* ✅ fix the broken E2E tests due to the addition of OCO_GITPUSH (#321)\r\n\r\n* test(oneFile.test.ts): update test expectations to match new push prompt text\r\n\r\n* build\r\n\r\n* Feat: Add Claude 3 support (#318)\r\n\r\n* 3.0.12\r\n\r\n* build\r\n\r\n* feat: anthropic claude 3 support\r\n\r\n* fix: add system prompt\r\n\r\n* fix: type check\r\n\r\n* fix: package version\r\n\r\n* fix: update anthropic for dependency bug fix\r\n\r\n* feat: update build files\r\n\r\n* feat: update version number\r\n\r\n---------\r\n\r\nCo-authored-by: di-sukharev \r\n\r\n* 🐛bug fix: enable to use the new format of OpenAI's project API Key (#328)\r\n\r\n* fix(config.ts): remove validation for OCO_OPENAI_API_KEY length to accommodate variable key lengths\r\n\r\n* build\r\n\r\n* ♻️ refactor(config.ts): Addition of UnitTest environment and unittest for commands/config.ts#getConfig (#330)\r\n\r\n* feat(jest.config.ts): update jest preset for TS ESM support and ignore patterns\r\nfeat(package.json): add test:unit script with NODE_OPTIONS for ESM\r\nrefactor(src/commands/config.ts): improve dotenv usage with dynamic paths\r\nfeat(src/commands/config.ts): allow custom config and env paths in getConfig\r\nrefactor(src/commands/config.ts): streamline environment variable access\r\n\r\nfeat(test/unit): add unit tests for config handling and utility functions\r\n\r\n- Implement unit tests for `getConfig` function to ensure correct behavior\r\n in various scenarios including default values, global config, and local\r\n env file precedence.\r\n- Add utility function `prepareFile` for creating temporary files during\r\n tests, facilitating testing of file-based configurations.\r\n\r\n* feat(e2e.yml): add unit-test job to GitHub Actions for running unit tests on pull requests\r\n\r\n* ci(test.yml): add GitHub Actions workflow for unit and e2e tests on pull requests\r\n\r\n* refactor(config.ts): streamline environment variable access using process.env directly\r\ntest(config.test.ts): add setup and teardown for environment variables in tests to ensure test isolation\r\n\r\n* feat(package.json): add `test:all` script to run all tests in Docker\r\nrefactor(package.json): consolidate Docker build steps into `test:docker-build` script for DRY principle\r\nfix(package.json): ensure `test:unit:docker` and `test:e2e:docker` scripts use the same Docker image and remove container after run\r\nchore(test/Dockerfile): remove default CMD to allow dynamic test script execution in Docker\r\n\r\n* refactor(config.test.ts): anonymize API keys in tests for better security practices\r\n\r\n* feat(config.test.ts): add tests for OCO_ANTHROPIC_API_KEY configuration\r\n\r\n* refactor(config.ts): streamline path imports and remove unused DotenvParseOutput\r\n\r\n- Simplify path module imports by removing default import and using named imports for `pathJoin` and `pathResolve`.\r\n- Remove unused `DotenvParseOutput` import to clean up the code.\r\n\r\n* refactor(config.test.ts): simplify API key mock values for clarity in tests\r\n\r\n* test(config.test.ts): remove tests for default config values and redundant cases\r\n\r\n- Removed tests that checked for default config values when no config or env files are present, as these scenarios are now handled differently.\r\n- Eliminated tests for empty global config and local env files to streamline testing focus on actual config loading logic.\r\n- Removed test for prioritizing local env over global config due to changes in config loading strategy, simplifying the configuration management.\r\n\r\n* new version\r\n\r\n* improve OCO_AI_PROVIDER=ollama[/model name] (#327)\r\n\r\n* 🐛 (config.ts, engine/ollama.ts, utils/engine.ts): improve Ollama AI configuration and usage\r\n✨ (config.ts): add support for multiple Ollama models and allow users to specify the model in their config\r\n✅ (engine/ollama.ts, utils/engine.ts): refactor code to use the specified Ollama model instead of hardcoding it\r\n\r\n* add build results\r\n\r\n* add support for Azure OpenAI API - continue MR 167 (#324)\r\n\r\n* ✨ feat(api.ts): add support for Azure OpenAI API\r\n\r\nThe Azure OpenAI API is now supported in addition to the OpenAI API. The API type can be specified in the configuration file using the OPENAI_API_TYPE key. If the key is not specified, the default value is 'openai'. The AzureOpenAIApi class is added to the utils folder to handle the Azure OpenAI API calls. The createChatCompletion method is implemented in the AzureOpenAIApi class to handle the chat completion requests. The method is called in the generateCommitMessage method in the OpenAi class if the apiType is set to 'azure'.\r\n\r\n* 🐛 fix(AzureOpenAI.ts): fix import path for AxiosRequestConfig to avoid conflicts with openai's axios dependency\r\n\r\nIn AzureOpenAI.ts, the import path for AxiosRequestConfig was changed to avoid conflicts with openai's axios dependency, which was causing lint errors.\r\n\r\n* 🔧 fix(AzureOpenAI.ts): import RequiredError to fix error handling and remove commented out debug code\r\n\r\nThe RequiredError class was not being imported from the openai/dist/base module, causing errors to be thrown incorrectly. This has been fixed by importing the RequiredError class. Debug code has been removed and comments have been updated to reflect the changes made.\r\n\r\n* 🔇 chore(AzureOpenAI.ts): remove console.log statement and translate Japanese comment\r\n\r\nThe commented console.log statement was removed to improve code cleanliness.\r\n\r\n* 🔥 refactoring(api.ts, AzureOpenAI.ts): Leverage openai npm package\r\n🐛 fix(config.ts): API Key string validation\r\n\r\n* ✨ (README.md): update opencommit command to set OCO_AI_PROVIDER instead of OPENAI_API_TYPE to improve consistency and clarity in configuration\r\n♻️ (config.ts): update OCO_AI_PROVIDER enum in configValidators to include 'azure' and remove unnecessary conditionals to improve maintainability and extensibility\r\n⬆️ (config.ts): add OCO_AZURE_API_VERSION to ConfigType and getConfig() to support new azure api version configuration\r\n♻️ (engine/ollama.ts): add space between temperature and top_p properties to improve readability\r\n♻️ (engine/openAi.ts): refactor OpenAi class to improve readability and maintainability by extracting configuration logic into separate switch statement\r\n🔧 (generateCommitMessageFromGitDiff.ts): refactor MAX_TOKENS_INPUT and MAX_TOKENS_OUTPUT lines to improve readability\r\n🔧 (generateCommitMessageFromGitDiff.ts): refactor generateCommitMessageByDiff and getMessagesPromisesByChangesInFile functions to use destructuring and improve readability\r\n♻️ (generateCommitMessageFromGitDiff.ts): refactor getCommitMsgsPromisesFromFileDiffs function to use destructuring and improve readability\r\n📝 (modules/commitlint/config.ts): add missing types to function parameters and improve readability by removing unnecessary comments and whitespace\r\n📝 (modules/commitlint/utils.ts): fix indentation and add missing types to function parameters\r\n📝 (prompts.ts): update INIT_MAIN_PROMPT description to include clarification on the use of present tense and line length\r\n📝 (version.ts): fix import statements and add missing types to function parameters\r\n\r\n* ✨ (package.json): add @azure/openai dependency to support integration with Azure AI services\r\n🔧 (config.ts): change CONFIG_KEYS.OCO_AZURE_API_VERSION to CONFIG_KEYS.OCO_AZURE_ENDPOINT to improve semantics and allow configuration of Azure endpoint URL\r\n♻️ (config.ts): refactor configValidators to use OCO_AZURE_ENDPOINT instead of OCO_AZURE_API_VERSION and update validation message for OCO_AZURE_ENDPOINT\r\n✨ (config.ts): add OCO_AZURE_ENDPOINT to getConfig function to retrieve Azure endpoint configuration from environment variables\r\n✨ (azure.ts): introduce a new file azure.ts to implement Azure AI engine\r\n✨ (azure.ts): implement generateCommitMessage function in Azure AI engine\r\n✨ (prompts.ts): add a new line to INIT_MAIN_PROMPT to mention that changes within a single file should be described with a single commit message\r\n♻️ (engine.ts): refactor getEngine function to add support for 'azure' as the AI provider and return the azure engine\r\n\r\n* 📝 (prompts.ts): remove unnecessary information about crafting a concise commit message with a one single message for OCO_ONE_LINE_COMMIT configuration\r\n\r\n* 3.0.14 (#333)\r\n\r\n* test: ✅ add the first E2E test and configuration to CI (#316)\r\n\r\n* add tests\r\n\r\n* Add push config (#220)\r\n\r\n* feat: add instructions and support for configuring gpt-4-turbo (#320)\r\n\r\n* 3.0.12\r\n\r\n* build\r\n\r\n* feat: add 'gpt-4-turbo' to supported models in README and config validation\r\n\r\n---------\r\n\r\nCo-authored-by: di-sukharev \r\n\r\n* ✅ fix the broken E2E tests due to the addition of OCO_GITPUSH (#321)\r\n\r\n* test(oneFile.test.ts): update test expectations to match new push prompt text\r\n\r\n* build\r\n\r\n* Feat: Add Claude 3 support (#318)\r\n\r\n* 3.0.12\r\n\r\n* build\r\n\r\n* feat: anthropic claude 3 support\r\n\r\n* fix: add system prompt\r\n\r\n* fix: type check\r\n\r\n* fix: package version\r\n\r\n* fix: update anthropic for dependency bug fix\r\n\r\n* feat: update build files\r\n\r\n* feat: update version number\r\n\r\n---------\r\n\r\nCo-authored-by: di-sukharev \r\n\r\n* 🐛bug fix: enable to use the new format of OpenAI's project API Key (#328)\r\n\r\n* fix(config.ts): remove validation for OCO_OPENAI_API_KEY length to accommodate variable key lengths\r\n\r\n* build\r\n\r\n* ♻️ refactor(config.ts): Addition of UnitTest environment and unittest for commands/config.ts#getConfig (#330)\r\n\r\n* feat(jest.config.ts): update jest preset for TS ESM support and ignore patterns\r\nfeat(package.json): add test:unit script with NODE_OPTIONS for ESM\r\nrefactor(src/commands/config.ts): improve dotenv usage with dynamic paths\r\nfeat(src/commands/config.ts): allow custom config and env paths in getConfig\r\nrefactor(src/commands/config.ts): streamline environment variable access\r\n\r\nfeat(test/unit): add unit tests for config handling and utility functions\r\n\r\n- Implement unit tests for `getConfig` function to ensure correct behavior\r\n in various scenarios including default values, global config, and local\r\n env file precedence.\r\n- Add utility function `prepareFile` for creating temporary files during\r\n tests, facilitating testing of file-based configurations.\r\n\r\n* feat(e2e.yml): add unit-test job to GitHub Actions for running unit tests on pull requests\r\n\r\n* ci(test.yml): add GitHub Actions workflow for unit and e2e tests on pull requests\r\n\r\n* refactor(config.ts): streamline environment variable access using process.env directly\r\ntest(config.test.ts): add setup and teardown for environment variables in tests to ensure test isolation\r\n\r\n* feat(package.json): add `test:all` script to run all tests in Docker\r\nrefactor(package.json): consolidate Docker build steps into `test:docker-build` script for DRY principle\r\nfix(package.json): ensure `test:unit:docker` and `test:e2e:docker` scripts use the same Docker image and remove container after run\r\nchore(test/Dockerfile): remove default CMD to allow dynamic test script execution in Docker\r\n\r\n* refactor(config.test.ts): anonymize API keys in tests for better security practices\r\n\r\n* feat(config.test.ts): add tests for OCO_ANTHROPIC_API_KEY configuration\r\n\r\n* refactor(config.ts): streamline path imports and remove unused DotenvParseOutput\r\n\r\n- Simplify path module imports by removing default import and using named imports for `pathJoin` and `pathResolve`.\r\n- Remove unused `DotenvParseOutput` import to clean up the code.\r\n\r\n* refactor(config.test.ts): simplify API key mock values for clarity in tests\r\n\r\n* test(config.test.ts): remove tests for default config values and redundant cases\r\n\r\n- Removed tests that checked for default config values when no config or env files are present, as these scenarios are now handled differently.\r\n- Eliminated tests for empty global config and local env files to streamline testing focus on actual config loading logic.\r\n- Removed test for prioritizing local env over global config due to changes in config loading strategy, simplifying the configuration management.\r\n\r\n* new version\r\n\r\n---------\r\n\r\nCo-authored-by: Takanori Matsumoto \r\nCo-authored-by: Moret84 \r\nCo-authored-by: yowatari <4982161+YOwatari@users.noreply.github.com>\r\nCo-authored-by: metavind <94786679+metavind@users.noreply.github.com>\r\n\r\n* 3.0.15\r\n\r\n* build\r\n\r\n* 🐛 (prepare-commit-msg-hook.ts): improve error message to cover missing OCO_ANTHROPIC_API_KEY and OCO_AZURE_API_KEY in addition to OCO_OPENAI_API_KEY\r\n\r\n* 🐛 (azure.ts): fix check for OCO_AI_PROVIDER to properly assign provider variable\r\n🐛 (azure.ts): initialize OpenAIClient only if provider is 'azure'\r\n🔧 (Dockerfile): rearrange instructions to optimize caching by copying package.json and package-lock.json first before running npm ci and copying the rest of the files\r\n🔧 (e2e/noChanges.test.ts): remove unnecessary line break\r\n🔧 (e2e/oneFile.test.ts): remove unnecessary line break\r\n\r\n---------\r\n\r\nCo-authored-by: Takuya Ono \r\nCo-authored-by: GPT10 <57486732+di-sukharev@users.noreply.github.com>\r\nCo-authored-by: Takanori Matsumoto \r\nCo-authored-by: Moret84 \r\nCo-authored-by: yowatari <4982161+YOwatari@users.noreply.github.com>\r\nCo-authored-by: metavind <94786679+metavind@users.noreply.github.com>\r\nCo-authored-by: di-sukharev \r\n\r\n* feat(cli.ts, commit.ts): add `--yes` flag to skip commit confirmation prompt (#341)\r\n\r\ndocs(README.md): document the `--yes` flag usage in README for user guidance\r\n\r\n---------\r\n\r\nCo-authored-by: Takanori Matsumoto \r\nCo-authored-by: Moret84 \r\nCo-authored-by: yowatari <4982161+YOwatari@users.noreply.github.com>\r\nCo-authored-by: metavind <94786679+metavind@users.noreply.github.com>\r\nCo-authored-by: tumf \r\nCo-authored-by: Jakub Rosa \r\nCo-authored-by: Takuya Ono \r\nCo-authored-by: Ignacio Lago ","shortMessageHtmlLink":"release candidate (#348)"}},{"before":"312540456abb3fecc7c68256c23fa5853658e782","after":"c5ee5cd8dfa5b2aad3b9b657832ea296aa0ae080","ref":"refs/heads/dev","pushedAt":"2024-05-25T16:15:39.000Z","pushType":"push","commitsCount":7,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"Merge remote-tracking branch 'origin/dev'","shortMessageHtmlLink":"Merge remote-tracking branch 'origin/dev'"}},{"before":"f814c6b89d38daf061f7d8e669d251eb9e9585ec","after":"312540456abb3fecc7c68256c23fa5853658e782","ref":"refs/heads/dev","pushedAt":"2024-05-23T07:56:35.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"feat(cli.ts, commit.ts): add `--yes` flag to skip commit confirmation prompt (#341)\n\ndocs(README.md): document the `--yes` flag usage in README for user guidance","shortMessageHtmlLink":"feat(cli.ts, commit.ts): add --yes flag to skip commit confirmation…"}},{"before":"9a0f412fff320048b30882841ce846c1c040c4e8","after":"7ddbaf477ab08cceede5ff5ddd4dd9329a32a62c","ref":"refs/heads/master","pushedAt":"2024-05-14T11:16:21.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"feat: add instructions and support for configuring gpt-4o (#340)\n\n* feat(config.ts): add 'gpt-4o' to supported model list for enhanced model options\r\ndocs(config.ts): update error message to include 'gpt-4o' in the list of supported models\r\n\r\n* docs(README.md): update OCO_MODEL options to include 'gpt-4o' model","shortMessageHtmlLink":"feat: add instructions and support for configuring gpt-4o (#340)"}},{"before":"7cd3ef09cba62342fce7ae75db5df277fe577d56","after":"9a0f412fff320048b30882841ce846c1c040c4e8","ref":"refs/heads/master","pushedAt":"2024-05-12T12:56:05.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"fix(config.ts): add optional `config` parameter to `[CONFIG_KEYS.OCO_ MODEL]` validator to allow for dynamic model selection based on configuration (#337)\n\nfeat(engine/ollama.ts): integrate with config command to load OCO_MODEL from configuration and use it as the default AI engine model","shortMessageHtmlLink":"fix(config.ts): add optional config parameter to `[CONFIG_KEYS.OCO_…"}},{"before":"cb7f5dd44d741b3cd9ae3418661a64ba22f198c1","after":"7cd3ef09cba62342fce7ae75db5df277fe577d56","ref":"refs/heads/master","pushedAt":"2024-05-09T08:23:54.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"Update README.md (#335)","shortMessageHtmlLink":"Update README.md (#335)"}},{"before":"74024a49970b0c67b3d80094ad73eac96afe2bd4","after":"f814c6b89d38daf061f7d8e669d251eb9e9585ec","ref":"refs/heads/dev","pushedAt":"2024-05-09T08:23:00.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"add support for Azure OpenAI API - continue MR 167 (#324)\n\n* ✨ feat(api.ts): add support for Azure OpenAI API\r\n\r\nThe Azure OpenAI API is now supported in addition to the OpenAI API. The API type can be specified in the configuration file using the OPENAI_API_TYPE key. If the key is not specified, the default value is 'openai'. The AzureOpenAIApi class is added to the utils folder to handle the Azure OpenAI API calls. The createChatCompletion method is implemented in the AzureOpenAIApi class to handle the chat completion requests. The method is called in the generateCommitMessage method in the OpenAi class if the apiType is set to 'azure'.\r\n\r\n* 🐛 fix(AzureOpenAI.ts): fix import path for AxiosRequestConfig to avoid conflicts with openai's axios dependency\r\n\r\nIn AzureOpenAI.ts, the import path for AxiosRequestConfig was changed to avoid conflicts with openai's axios dependency, which was causing lint errors.\r\n\r\n* 🔧 fix(AzureOpenAI.ts): import RequiredError to fix error handling and remove commented out debug code\r\n\r\nThe RequiredError class was not being imported from the openai/dist/base module, causing errors to be thrown incorrectly. This has been fixed by importing the RequiredError class. Debug code has been removed and comments have been updated to reflect the changes made.\r\n\r\n* 🔇 chore(AzureOpenAI.ts): remove console.log statement and translate Japanese comment\r\n\r\nThe commented console.log statement was removed to improve code cleanliness.\r\n\r\n* 🔥 refactoring(api.ts, AzureOpenAI.ts): Leverage openai npm package\r\n🐛 fix(config.ts): API Key string validation\r\n\r\n* ✨ (README.md): update opencommit command to set OCO_AI_PROVIDER instead of OPENAI_API_TYPE to improve consistency and clarity in configuration\r\n♻️ (config.ts): update OCO_AI_PROVIDER enum in configValidators to include 'azure' and remove unnecessary conditionals to improve maintainability and extensibility\r\n⬆️ (config.ts): add OCO_AZURE_API_VERSION to ConfigType and getConfig() to support new azure api version configuration\r\n♻️ (engine/ollama.ts): add space between temperature and top_p properties to improve readability\r\n♻️ (engine/openAi.ts): refactor OpenAi class to improve readability and maintainability by extracting configuration logic into separate switch statement\r\n🔧 (generateCommitMessageFromGitDiff.ts): refactor MAX_TOKENS_INPUT and MAX_TOKENS_OUTPUT lines to improve readability\r\n🔧 (generateCommitMessageFromGitDiff.ts): refactor generateCommitMessageByDiff and getMessagesPromisesByChangesInFile functions to use destructuring and improve readability\r\n♻️ (generateCommitMessageFromGitDiff.ts): refactor getCommitMsgsPromisesFromFileDiffs function to use destructuring and improve readability\r\n📝 (modules/commitlint/config.ts): add missing types to function parameters and improve readability by removing unnecessary comments and whitespace\r\n📝 (modules/commitlint/utils.ts): fix indentation and add missing types to function parameters\r\n📝 (prompts.ts): update INIT_MAIN_PROMPT description to include clarification on the use of present tense and line length\r\n📝 (version.ts): fix import statements and add missing types to function parameters\r\n\r\n* ✨ (package.json): add @azure/openai dependency to support integration with Azure AI services\r\n🔧 (config.ts): change CONFIG_KEYS.OCO_AZURE_API_VERSION to CONFIG_KEYS.OCO_AZURE_ENDPOINT to improve semantics and allow configuration of Azure endpoint URL\r\n♻️ (config.ts): refactor configValidators to use OCO_AZURE_ENDPOINT instead of OCO_AZURE_API_VERSION and update validation message for OCO_AZURE_ENDPOINT\r\n✨ (config.ts): add OCO_AZURE_ENDPOINT to getConfig function to retrieve Azure endpoint configuration from environment variables\r\n✨ (azure.ts): introduce a new file azure.ts to implement Azure AI engine\r\n✨ (azure.ts): implement generateCommitMessage function in Azure AI engine\r\n✨ (prompts.ts): add a new line to INIT_MAIN_PROMPT to mention that changes within a single file should be described with a single commit message\r\n♻️ (engine.ts): refactor getEngine function to add support for 'azure' as the AI provider and return the azure engine\r\n\r\n* 📝 (prompts.ts): remove unnecessary information about crafting a concise commit message with a one single message for OCO_ONE_LINE_COMMIT configuration\r\n\r\n* 3.0.14 (#333)\r\n\r\n* test: ✅ add the first E2E test and configuration to CI (#316)\r\n\r\n* add tests\r\n\r\n* Add push config (#220)\r\n\r\n* feat: add instructions and support for configuring gpt-4-turbo (#320)\r\n\r\n* 3.0.12\r\n\r\n* build\r\n\r\n* feat: add 'gpt-4-turbo' to supported models in README and config validation\r\n\r\n---------\r\n\r\nCo-authored-by: di-sukharev \r\n\r\n* ✅ fix the broken E2E tests due to the addition of OCO_GITPUSH (#321)\r\n\r\n* test(oneFile.test.ts): update test expectations to match new push prompt text\r\n\r\n* build\r\n\r\n* Feat: Add Claude 3 support (#318)\r\n\r\n* 3.0.12\r\n\r\n* build\r\n\r\n* feat: anthropic claude 3 support\r\n\r\n* fix: add system prompt\r\n\r\n* fix: type check\r\n\r\n* fix: package version\r\n\r\n* fix: update anthropic for dependency bug fix\r\n\r\n* feat: update build files\r\n\r\n* feat: update version number\r\n\r\n---------\r\n\r\nCo-authored-by: di-sukharev \r\n\r\n* 🐛bug fix: enable to use the new format of OpenAI's project API Key (#328)\r\n\r\n* fix(config.ts): remove validation for OCO_OPENAI_API_KEY length to accommodate variable key lengths\r\n\r\n* build\r\n\r\n* ♻️ refactor(config.ts): Addition of UnitTest environment and unittest for commands/config.ts#getConfig (#330)\r\n\r\n* feat(jest.config.ts): update jest preset for TS ESM support and ignore patterns\r\nfeat(package.json): add test:unit script with NODE_OPTIONS for ESM\r\nrefactor(src/commands/config.ts): improve dotenv usage with dynamic paths\r\nfeat(src/commands/config.ts): allow custom config and env paths in getConfig\r\nrefactor(src/commands/config.ts): streamline environment variable access\r\n\r\nfeat(test/unit): add unit tests for config handling and utility functions\r\n\r\n- Implement unit tests for `getConfig` function to ensure correct behavior\r\n in various scenarios including default values, global config, and local\r\n env file precedence.\r\n- Add utility function `prepareFile` for creating temporary files during\r\n tests, facilitating testing of file-based configurations.\r\n\r\n* feat(e2e.yml): add unit-test job to GitHub Actions for running unit tests on pull requests\r\n\r\n* ci(test.yml): add GitHub Actions workflow for unit and e2e tests on pull requests\r\n\r\n* refactor(config.ts): streamline environment variable access using process.env directly\r\ntest(config.test.ts): add setup and teardown for environment variables in tests to ensure test isolation\r\n\r\n* feat(package.json): add `test:all` script to run all tests in Docker\r\nrefactor(package.json): consolidate Docker build steps into `test:docker-build` script for DRY principle\r\nfix(package.json): ensure `test:unit:docker` and `test:e2e:docker` scripts use the same Docker image and remove container after run\r\nchore(test/Dockerfile): remove default CMD to allow dynamic test script execution in Docker\r\n\r\n* refactor(config.test.ts): anonymize API keys in tests for better security practices\r\n\r\n* feat(config.test.ts): add tests for OCO_ANTHROPIC_API_KEY configuration\r\n\r\n* refactor(config.ts): streamline path imports and remove unused DotenvParseOutput\r\n\r\n- Simplify path module imports by removing default import and using named imports for `pathJoin` and `pathResolve`.\r\n- Remove unused `DotenvParseOutput` import to clean up the code.\r\n\r\n* refactor(config.test.ts): simplify API key mock values for clarity in tests\r\n\r\n* test(config.test.ts): remove tests for default config values and redundant cases\r\n\r\n- Removed tests that checked for default config values when no config or env files are present, as these scenarios are now handled differently.\r\n- Eliminated tests for empty global config and local env files to streamline testing focus on actual config loading logic.\r\n- Removed test for prioritizing local env over global config due to changes in config loading strategy, simplifying the configuration management.\r\n\r\n* new version\r\n\r\n---------\r\n\r\nCo-authored-by: Takanori Matsumoto \r\nCo-authored-by: Moret84 \r\nCo-authored-by: yowatari <4982161+YOwatari@users.noreply.github.com>\r\nCo-authored-by: metavind <94786679+metavind@users.noreply.github.com>\r\n\r\n* 3.0.15\r\n\r\n* build\r\n\r\n* 🐛 (prepare-commit-msg-hook.ts): improve error message to cover missing OCO_ANTHROPIC_API_KEY and OCO_AZURE_API_KEY in addition to OCO_OPENAI_API_KEY\r\n\r\n* 🐛 (azure.ts): fix check for OCO_AI_PROVIDER to properly assign provider variable\r\n🐛 (azure.ts): initialize OpenAIClient only if provider is 'azure'\r\n🔧 (Dockerfile): rearrange instructions to optimize caching by copying package.json and package-lock.json first before running npm ci and copying the rest of the files\r\n🔧 (e2e/noChanges.test.ts): remove unnecessary line break\r\n🔧 (e2e/oneFile.test.ts): remove unnecessary line break\r\n\r\n---------\r\n\r\nCo-authored-by: Takuya Ono \r\nCo-authored-by: GPT10 <57486732+di-sukharev@users.noreply.github.com>\r\nCo-authored-by: Takanori Matsumoto \r\nCo-authored-by: Moret84 \r\nCo-authored-by: yowatari <4982161+YOwatari@users.noreply.github.com>\r\nCo-authored-by: metavind <94786679+metavind@users.noreply.github.com>\r\nCo-authored-by: di-sukharev ","shortMessageHtmlLink":"add support for Azure OpenAI API - continue MR 167 (#324)"}},{"before":"058bad95cd78fa97886889b828cf1032747144e5","after":"74024a49970b0c67b3d80094ad73eac96afe2bd4","ref":"refs/heads/dev","pushedAt":"2024-05-07T07:51:24.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"improve OCO_AI_PROVIDER=ollama[/model name] (#327)\n\n* 🐛 (config.ts, engine/ollama.ts, utils/engine.ts): improve Ollama AI configuration and usage\r\n✨ (config.ts): add support for multiple Ollama models and allow users to specify the model in their config\r\n✅ (engine/ollama.ts, utils/engine.ts): refactor code to use the specified Ollama model instead of hardcoding it\r\n\r\n* add build results","shortMessageHtmlLink":"improve OCO_AI_PROVIDER=ollama[/model name] (#327)"}},{"before":"ec307d561f7baf377a6be3b7b7937ca503e53c39","after":"cb7f5dd44d741b3cd9ae3418661a64ba22f198c1","ref":"refs/heads/master","pushedAt":"2024-05-05T16:12:28.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"build","shortMessageHtmlLink":"build"}},{"before":"0ac7211ff702036e3656170ec1a1a51eef29703f","after":"ec307d561f7baf377a6be3b7b7937ca503e53c39","ref":"refs/heads/master","pushedAt":"2024-05-05T16:07:55.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"3.0.14 (#333)\n\n* test: ✅ add the first E2E test and configuration to CI (#316)\r\n\r\n* add tests\r\n\r\n* Add push config (#220)\r\n\r\n* feat: add instructions and support for configuring gpt-4-turbo (#320)\r\n\r\n* 3.0.12\r\n\r\n* build\r\n\r\n* feat: add 'gpt-4-turbo' to supported models in README and config validation\r\n\r\n---------\r\n\r\nCo-authored-by: di-sukharev \r\n\r\n* ✅ fix the broken E2E tests due to the addition of OCO_GITPUSH (#321)\r\n\r\n* test(oneFile.test.ts): update test expectations to match new push prompt text\r\n\r\n* build\r\n\r\n* Feat: Add Claude 3 support (#318)\r\n\r\n* 3.0.12\r\n\r\n* build\r\n\r\n* feat: anthropic claude 3 support\r\n\r\n* fix: add system prompt\r\n\r\n* fix: type check\r\n\r\n* fix: package version\r\n\r\n* fix: update anthropic for dependency bug fix\r\n\r\n* feat: update build files\r\n\r\n* feat: update version number\r\n\r\n---------\r\n\r\nCo-authored-by: di-sukharev \r\n\r\n* 🐛bug fix: enable to use the new format of OpenAI's project API Key (#328)\r\n\r\n* fix(config.ts): remove validation for OCO_OPENAI_API_KEY length to accommodate variable key lengths\r\n\r\n* build\r\n\r\n* ♻️ refactor(config.ts): Addition of UnitTest environment and unittest for commands/config.ts#getConfig (#330)\r\n\r\n* feat(jest.config.ts): update jest preset for TS ESM support and ignore patterns\r\nfeat(package.json): add test:unit script with NODE_OPTIONS for ESM\r\nrefactor(src/commands/config.ts): improve dotenv usage with dynamic paths\r\nfeat(src/commands/config.ts): allow custom config and env paths in getConfig\r\nrefactor(src/commands/config.ts): streamline environment variable access\r\n\r\nfeat(test/unit): add unit tests for config handling and utility functions\r\n\r\n- Implement unit tests for `getConfig` function to ensure correct behavior\r\n in various scenarios including default values, global config, and local\r\n env file precedence.\r\n- Add utility function `prepareFile` for creating temporary files during\r\n tests, facilitating testing of file-based configurations.\r\n\r\n* feat(e2e.yml): add unit-test job to GitHub Actions for running unit tests on pull requests\r\n\r\n* ci(test.yml): add GitHub Actions workflow for unit and e2e tests on pull requests\r\n\r\n* refactor(config.ts): streamline environment variable access using process.env directly\r\ntest(config.test.ts): add setup and teardown for environment variables in tests to ensure test isolation\r\n\r\n* feat(package.json): add `test:all` script to run all tests in Docker\r\nrefactor(package.json): consolidate Docker build steps into `test:docker-build` script for DRY principle\r\nfix(package.json): ensure `test:unit:docker` and `test:e2e:docker` scripts use the same Docker image and remove container after run\r\nchore(test/Dockerfile): remove default CMD to allow dynamic test script execution in Docker\r\n\r\n* refactor(config.test.ts): anonymize API keys in tests for better security practices\r\n\r\n* feat(config.test.ts): add tests for OCO_ANTHROPIC_API_KEY configuration\r\n\r\n* refactor(config.ts): streamline path imports and remove unused DotenvParseOutput\r\n\r\n- Simplify path module imports by removing default import and using named imports for `pathJoin` and `pathResolve`.\r\n- Remove unused `DotenvParseOutput` import to clean up the code.\r\n\r\n* refactor(config.test.ts): simplify API key mock values for clarity in tests\r\n\r\n* test(config.test.ts): remove tests for default config values and redundant cases\r\n\r\n- Removed tests that checked for default config values when no config or env files are present, as these scenarios are now handled differently.\r\n- Eliminated tests for empty global config and local env files to streamline testing focus on actual config loading logic.\r\n- Removed test for prioritizing local env over global config due to changes in config loading strategy, simplifying the configuration management.\r\n\r\n* new version\r\n\r\n---------\r\n\r\nCo-authored-by: Takanori Matsumoto \r\nCo-authored-by: Moret84 \r\nCo-authored-by: yowatari <4982161+YOwatari@users.noreply.github.com>\r\nCo-authored-by: metavind <94786679+metavind@users.noreply.github.com>","shortMessageHtmlLink":"3.0.14 (#333)"}},{"before":"278e4cb4c27b470858ce8c68f42434ef6d928a5a","after":"058bad95cd78fa97886889b828cf1032747144e5","ref":"refs/heads/dev","pushedAt":"2024-05-05T16:04:25.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"new version","shortMessageHtmlLink":"new version"}},{"before":"e19305dee280dc7598d196653f04b6128662666f","after":"278e4cb4c27b470858ce8c68f42434ef6d928a5a","ref":"refs/heads/dev","pushedAt":"2024-05-05T15:46:16.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"♻️ refactor(config.ts): Addition of UnitTest environment and unittest for commands/config.ts#getConfig (#330)\n\n* feat(jest.config.ts): update jest preset for TS ESM support and ignore patterns\r\nfeat(package.json): add test:unit script with NODE_OPTIONS for ESM\r\nrefactor(src/commands/config.ts): improve dotenv usage with dynamic paths\r\nfeat(src/commands/config.ts): allow custom config and env paths in getConfig\r\nrefactor(src/commands/config.ts): streamline environment variable access\r\n\r\nfeat(test/unit): add unit tests for config handling and utility functions\r\n\r\n- Implement unit tests for `getConfig` function to ensure correct behavior\r\n in various scenarios including default values, global config, and local\r\n env file precedence.\r\n- Add utility function `prepareFile` for creating temporary files during\r\n tests, facilitating testing of file-based configurations.\r\n\r\n* feat(e2e.yml): add unit-test job to GitHub Actions for running unit tests on pull requests\r\n\r\n* ci(test.yml): add GitHub Actions workflow for unit and e2e tests on pull requests\r\n\r\n* refactor(config.ts): streamline environment variable access using process.env directly\r\ntest(config.test.ts): add setup and teardown for environment variables in tests to ensure test isolation\r\n\r\n* feat(package.json): add `test:all` script to run all tests in Docker\r\nrefactor(package.json): consolidate Docker build steps into `test:docker-build` script for DRY principle\r\nfix(package.json): ensure `test:unit:docker` and `test:e2e:docker` scripts use the same Docker image and remove container after run\r\nchore(test/Dockerfile): remove default CMD to allow dynamic test script execution in Docker\r\n\r\n* refactor(config.test.ts): anonymize API keys in tests for better security practices\r\n\r\n* feat(config.test.ts): add tests for OCO_ANTHROPIC_API_KEY configuration\r\n\r\n* refactor(config.ts): streamline path imports and remove unused DotenvParseOutput\r\n\r\n- Simplify path module imports by removing default import and using named imports for `pathJoin` and `pathResolve`.\r\n- Remove unused `DotenvParseOutput` import to clean up the code.\r\n\r\n* refactor(config.test.ts): simplify API key mock values for clarity in tests\r\n\r\n* test(config.test.ts): remove tests for default config values and redundant cases\r\n\r\n- Removed tests that checked for default config values when no config or env files are present, as these scenarios are now handled differently.\r\n- Eliminated tests for empty global config and local env files to streamline testing focus on actual config loading logic.\r\n- Removed test for prioritizing local env over global config due to changes in config loading strategy, simplifying the configuration management.","shortMessageHtmlLink":"♻️ refactor(config.ts): Addition of UnitTest environment and unittest…"}},{"before":"673eee209d7e1de843a503d6c9738b18f52f9bff","after":"e19305dee280dc7598d196653f04b6128662666f","ref":"refs/heads/dev","pushedAt":"2024-05-02T09:07:21.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"🐛bug fix: enable to use the new format of OpenAI's project API Key (#328)\n\n* fix(config.ts): remove validation for OCO_OPENAI_API_KEY length to accommodate variable key lengths\r\n\r\n* build","shortMessageHtmlLink":"🐛bug fix: enable to use the new format of OpenAI's project API Key (#328"}},{"before":"91399a0c6835dc2ab72ef932a497d29360b7a785","after":"673eee209d7e1de843a503d6c9738b18f52f9bff","ref":"refs/heads/dev","pushedAt":"2024-04-14T05:20:12.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"Feat: Add Claude 3 support (#318)\n\n* 3.0.12\r\n\r\n* build\r\n\r\n* feat: anthropic claude 3 support\r\n\r\n* fix: add system prompt\r\n\r\n* fix: type check\r\n\r\n* fix: package version\r\n\r\n* fix: update anthropic for dependency bug fix\r\n\r\n* feat: update build files\r\n\r\n* feat: update version number\r\n\r\n---------\r\n\r\nCo-authored-by: di-sukharev ","shortMessageHtmlLink":"Feat: Add Claude 3 support (#318)"}},{"before":"a4480893cb308356ae04e5025d2b279e09238b34","after":"91399a0c6835dc2ab72ef932a497d29360b7a785","ref":"refs/heads/dev","pushedAt":"2024-04-13T12:42:33.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"✅ fix the broken E2E tests due to the addition of OCO_GITPUSH (#321)\n\n* test(oneFile.test.ts): update test expectations to match new push prompt text\r\n\r\n* build","shortMessageHtmlLink":"✅ fix the broken E2E tests due to the addition of OCO_GITPUSH (#321)"}},{"before":"c410486e3099cf6db65a07e08b93a3401a5bdee3","after":"a4480893cb308356ae04e5025d2b279e09238b34","ref":"refs/heads/dev","pushedAt":"2024-04-12T03:55:41.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"feat: add instructions and support for configuring gpt-4-turbo (#320)\n\n* 3.0.12\r\n\r\n* build\r\n\r\n* feat: add 'gpt-4-turbo' to supported models in README and config validation\r\n\r\n---------\r\n\r\nCo-authored-by: di-sukharev ","shortMessageHtmlLink":"feat: add instructions and support for configuring gpt-4-turbo (#320)"}},{"before":"5cda8b1b035d37a3693dc2288abd4df35c774735","after":"c410486e3099cf6db65a07e08b93a3401a5bdee3","ref":"refs/heads/dev","pushedAt":"2024-03-29T02:57:20.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"Add push config (#220)","shortMessageHtmlLink":"Add push config (#220)"}},{"before":"bdc98c6fa8a729b688a4b932fb9a3262e990c304","after":"5cda8b1b035d37a3693dc2288abd4df35c774735","ref":"refs/heads/dev","pushedAt":"2024-03-25T04:01:05.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"test: ✅ add the first E2E test and configuration to CI (#316)\n\n* add tests","shortMessageHtmlLink":"test: ✅ add the first E2E test and configuration to CI (#316)"}},{"before":"f3adc866939b8465bef4314f09cb1cffc04f1c7a","after":"0ac7211ff702036e3656170ec1a1a51eef29703f","ref":"refs/heads/master","pushedAt":"2024-03-18T07:22:19.000Z","pushType":"push","commitsCount":9,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"build","shortMessageHtmlLink":"build"}},{"before":"c39181e5bd79ca9d05bbc8e0f9ca581bb2fbb3b4","after":"bdc98c6fa8a729b688a4b932fb9a3262e990c304","ref":"refs/heads/dev","pushedAt":"2024-03-18T07:21:51.000Z","pushType":"push","commitsCount":6,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"docs(README.md): update description text for better readability\nstyle(git.ts): add line breaks for better code readability","shortMessageHtmlLink":"docs(README.md): update description text for better readability"}},{"before":"45dc2c45352b99ee9118a0362a115d6e1dba86ae","after":"c39181e5bd79ca9d05bbc8e0f9ca581bb2fbb3b4","ref":"refs/heads/dev","pushedAt":"2024-03-18T04:29:35.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"fix(cli.ts): fix the commit function call by passing the correct arguments to the commit function (#313)","shortMessageHtmlLink":"fix(cli.ts): fix the commit function call by passing the correct argu…"}},{"before":"a192441f68425df1d6dd4069e7fbe895a72ca667","after":"45dc2c45352b99ee9118a0362a115d6e1dba86ae","ref":"refs/heads/dev","pushedAt":"2024-03-09T04:44:12.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"feat: add OCO_ONE_LINE_COMMIT config for enabling one line commit message (#307)","shortMessageHtmlLink":"feat: add OCO_ONE_LINE_COMMIT config for enabling one line commit mes…"}},{"before":"744bb9b11df575510f666b11ea3c3eb93dd22e16","after":"a192441f68425df1d6dd4069e7fbe895a72ca667","ref":"refs/heads/dev","pushedAt":"2024-03-08T02:08:52.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"di-sukharev","name":"GPT10","path":"/di-sukharev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/57486732?s=80&v=4"},"commit":{"message":"Switch ollama api endpoint from /api/generate to /api/chat (#304)\n\n* 3.0.11\r\n\r\n* build\r\n\r\n* docs: update ollama usage readme (#301)\r\n\r\nSigned-off-by: Albert Simon \r\nCo-authored-by: Albert Simon \r\n\r\n* 🚨 BREAKING CHANGES 🚨\r\n\r\n- feat(engine/ollama): add support for local models and change prompt format to improve AI performance\r\n+ fix(engine/ollama): fix issue with local model not responding correctly to requests\r\n\r\nThe commit message is now more concise, clear, and informative. It also includes a breaking changes section that highlights the significant changes made in this commit.\r\n\r\n---------\r\n\r\nSigned-off-by: Albert Simon \r\nCo-authored-by: di-sukharev \r\nCo-authored-by: Albert Simon <47634918+willyw0nka@users.noreply.github.com>\r\nCo-authored-by: Albert Simon \r\nCo-authored-by: Константин Шуткин ","shortMessageHtmlLink":"Switch ollama api endpoint from /api/generate to /api/chat (#304)"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEdqcmTAA","startCursor":null,"endCursor":null}},"title":"Activity · di-sukharev/opencommit"}