We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
echo
Hi, I am making this issue to guide people who encounter the same problem as me on Windows.
Be careful while following the README.md command:
README.md
echo "OPENAI_KEY=<your token>" >> ~/.aicommits
This one might not support UTF-8 depending on your Windows configuration.
I did some testing to understand what the result was: Input
Output
And I quickly realized that the parse would not work.
Here are the only 3 solutions I have found to fix this problem:
replace()
const configString = (await fs.readFile(configPath, 'utf8')).replace(/[^\u0020-\u007E]/g, '');
The text was updated successfully, but these errors were encountered:
Thanks for this issue! Maybe we should add the environment variable workaround as a footnote in the README for folks who run into issues on Windows.
Sorry, something went wrong.
I'll follow up with a quick config command. Better to set a secure example.
config
Closed via #71
No branches or pull requests
Hi, I am making this issue to guide people who encounter the same problem as me on Windows.
Be careful while following the
README.md
command:This one might not support UTF-8 depending on your Windows configuration.
I did some testing to understand what the result was:
Input
Output
And I quickly realized that the parse would not work.
Here are the only 3 solutions I have found to fix this problem:
replace()
, but this solution doesn't seem ideal to me.The text was updated successfully, but these errors were encountered: