![]() find ~/Downloads -type f -exec du -sh ' \ images/690EC1F13FB62A19.jpeg. Think> find the 10 largest files in ~/Downloads Find the 10 largest files in the ~/Downloads directory, sorted by size. But I know what I want to do, so I can just describe it to "Think" and let it generate the command for me. Defaults to gpt-4.Ä®xamples Task: Find the 10 largest files in ~/DownloadsÄo you always remember the exact syntax for the find command? I don't. THINK_MODEL/ -model (string): Name of the model to use. However, it also means that if you run a command that contains sensitive data, that data will be sent to the AI. This is helpful, as it allows the AI to debug its mistakes. THINK_SEND_OUTPUT/ -send-output (bool): If true, think will send some additional data to the AI: the actual command that you executed (with your edits), and the first 1000 bytes of the stdout and stderr. The following flags and env variables are available: You can either pass flags or set environment variables to configure think. It helps if -send-output is true (see bellow). ![]() If the AI gets something wrong, simply tell it to fix it. In running mode, you can hit C-c or C-d to go back to thinking mode. In running mode, you can review and edit the proposed code, and then execute it when ready. In thinking mode, you can describe your task to the AI, and it will generate the necessary shell code for you. Upon running, think opens an interactive session where you can discuss your task with the AI, review and edit the proposed code, and then execute it when ready.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |