AI-scripts
AI-scripts copied to clipboard
Some handy AI scripts
Apparently the actually-working git command to drop whitespace changes is hard to find. The first 5 things I tried didn't work. So maybe this will save people some trouble.
Fixes #12 Thanks @subvind for the fix
Fix #7
- Pass dependencies command as a system property to run the correct command for the language - Get the dependent files using the proper command -> a list of absolute,...
This adds a command mode (":") to the chat app. In command mode, you can debug (`show [model | messages]`) or change the active model (`model `). More commands are...
This will keep dependencies up to date for you. It is very pleasant to use.
I think it should be 'example.txt' here: ``` Show me local files. \`\`\`sh ls \`\`\` example.gif ---- example.tst ---- example_dir/ Is there any text file? Yes, there is a file...
Within "write each file" method I was able to add one line of code to get it working :) ```ts // Backup existing file if it exists if (await fs.access(absolutePath).then(()...
License?
Do you want to put an open source license on this repo? Would make it easier when using it for work and future PR:s. Edit: Oh right, it says `"license":...
https://github.com/VictorTaelin/AI-scripts/blob/bbfb923447bea75051251f86278fb6513fdfe3a0/chatsh.mjs#L61 This line should probably be delimited by code fences? (triple backtick and sh)