-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't seem to know it's in a git repo #5
Labels
bug
Something isn't working
Comments
same error here! |
There is an alternative I use : https://github.com/lennartle/chadcommit |
Same error here on my Windows machine, when I'm using the same extension synced over to my mac working with the same repo it works great. |
Seems like this issue on all windows machines. Fixing it in new version |
dmytrobaida
added a commit
that referenced
this issue
Aug 3, 2023
…figuration for ChatGPT * feat(README.md): add option to accept and edit generated commit via temp message file * feat(README.md): add option to set custom ChatGPT endpoint URL * fix(README.md): resolve issue with git on windows (Issue #5) * feat(README.md): add option to select different ChatGPT version (Issue #6)
dmytrobaida
added a commit
that referenced
this issue
Aug 3, 2023
… fixes * feat(README.md): add new advanced configuration for ChatGPT * feat(README.md): add new option to accept and edit generated commit via temp message file (Thanks for help [chenweiyi](https://github.com/chenweiyi)) * feat(README.md): add option to set custom ChatGPT endpoint URL (Thanks for help [aiyogg](https://github.com/aiyogg)) * fix(README.md): fix issue with git on windows (Issue [#5](#5)) * feat(README.md): add option to select different ChatGPT version (Issue [#6](#6)) * chore(README.md): set default ChatGPT version to gpt-3.5
dmytrobaida
added a commit
that referenced
this issue
Aug 3, 2023
* implemented new project structure * * fix(generate-ai-commit.ts): remove unnecessary await before vscode.window.showErrorMessage * fix(generate-completion-flow.ts): remove unnecessary await before this.onError * * chore(package.json): update openai package version to 3.3.0 * feat(package.json): add new configuration options for gptcommit * feat(generate-ai-commit.ts): add validation for openAI.apiKey before executing command * feat(generate-ai-commit.ts): use configuration.openAI instead of Configuration.openAI * feat(chatgpt-msg-generator.ts): add support for customUrl in OpenAIApi configuration * feat(chatgpt-msg-generator.ts): use configuration.openAI.gptVersion as model version * feat(configuration.ts): add general.generator configuration option * feat(configuration.ts): add gptVersion and customUrl options to openAI configuration * feat(configuration.ts): add getConfiguration function to retrieve configuration values * feat(types.ts): add DeepKey type for deep object keys * * chore(package.json): update package.json with new configuration options * feat(generate-ai-commit.ts): add support for generating a temporary file with commit message for approval * fix(generate-completion-flow.ts): update onSelectMessage function signature to return edited message * fix(chatgpt-msg-generator.ts): use configuration values for temperature and maxTokens * feat(configuration.ts): add new configuration options for message approval method, custom endpoint, temperature, and maxTokens * * chore(package.json): remove "Custom" option from gptcommit.general.generator enum * fix(generate-ai-commit.ts): remove unused import and function isValidApiKey * feat(generate-ai-commit.ts): add logging to output channel for temp file operations * fix(generate-ai-commit.ts): throw error instead of showing error message for missing git extension * feat(generate-ai-commit.ts): add logging to output channel for git extension activation * fix(set-openai-api-key.ts): add logging to output channel for command start and cancel * feat(set-openai-api-key.ts): add logging to output channel for saving API key * fix(generate-completion-flow.ts): throw error instead of showing error message for missing staged changes * fix(generate-completion-flow.ts): throw error instead of showing error message for no commit message generated * fix(generate-completion-flow.ts): throw error instead of showing error message for user rejecting commit * * chore(README.md): update appearance section with new setting * chore(README.md): update general section with new settings * chore(README.md): update OpenAI section with new settings * chore(README.md): update release notes with new version * chore(package.json): update version to 1.0.5 * * chore(README.md): update commit formatting and add new advanced configuration for ChatGPT * feat(README.md): add option to accept and edit generated commit via temp message file * feat(README.md): add option to set custom ChatGPT endpoint URL * fix(README.md): resolve issue with git on windows (Issue #5) * feat(README.md): add option to select different ChatGPT version (Issue #6) * * chore(README.md): set default ChatGPT version to gpt-3.5-turbo-16k * chore(package.json): update default ChatGPT version to gpt-3.5-turbo-16k * chore(generators/chatgpt-msg-generator.ts): update defaultModel to gpt-3.5-turbo-16k * chore(configuration.ts): update default ChatGPT version to gpt-3.5-turbo-16k * * fix(generate-ai-commit.ts): fix saving edited commit message in openTempFileWithMessage function * feat(generate-ai-commit.ts): add explaining header to generated commit message * * chore(README.md): update commit formatting and add new features and fixes * feat(README.md): add new advanced configuration for ChatGPT * feat(README.md): add new option to accept and edit generated commit via temp message file (Thanks for help [chenweiyi](https://github.com/chenweiyi)) * feat(README.md): add option to set custom ChatGPT endpoint URL (Thanks for help [aiyogg](https://github.com/aiyogg)) * fix(README.md): fix issue with git on windows (Issue [#5](#5)) * feat(README.md): add option to select different ChatGPT version (Issue [#6](#6)) * chore(README.md): set default ChatGPT version to gpt-3.5
Should be fixed in version 1.0.5. Please create new issue if problem exists. Thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Windows 10, VS code 1.77.1
I keep getting this error when generating a commit message "The current directory must be a Git repository!"
I have confirmed it's a Git repo and I can make commits if I manually enter a comment. I have also established my Open IA key works,
The text was updated successfully, but these errors were encountered: