You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parser.add_argument('--exec', '-e', action='store_true', default=False, help='Execute the code')
29
33
parser.add_argument('--save_code', '-s', action='store_true', default=False, help='Save the generated code')
30
34
parser.add_argument('--mode', '-md', choices=['code', 'script', 'command','vision','chat'], help='Select the mode (`code` for generating code, `script` for generating shell scripts, `command` for generating single line commands) `vision` for generating text from images')
31
35
parser.add_argument('--model', '-m', type=str, default='code-llama', help='Set the model for code generation. (Defaults to gpt-3.5-turbo)')
prompt=f"\nGenerate {script_type} for this prompt and make this script easy to read and understand for this task '{task} for Operating System is {os_name}'."
383
+
prompt=f"\nGenerate {script_type} for this prompt and make this script easy to read and understand for this task \
384
+
'{task} for Operating System is {os_name}' Ensure the script is compatible with the specified OS and its version."
0 commit comments