From 9cd87f95a87572840f096b9002deee1020ec4b4a Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 10 Dec 2024 07:44:48 +1100 Subject: [PATCH] fix(typo) --- initialterm/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/initialterm/main.py b/initialterm/main.py index 30c448f..bb93cb1 100644 --- a/initialterm/main.py +++ b/initialterm/main.py @@ -40,7 +40,7 @@ def ollama_api_call(os_name, command, model_name): stream = ollama.chat( model=model_name, options={'temperature': 0.1}, - messages=[{'role': 'user', 'content': f'I am using {os_name} operating system which does not have any extentions instaalled and I want to Convert the user query: {command} to commandline / terminal code. Only output one line of terminal command please. Do not add any other text as the intention is to copy paste this generated output directly in terminal and run.'}], + messages=[{'role': 'user', 'content': f'I am using {os_name} operating system which does not have any extentions installed and I want to Convert the user query: {command} to commandline / terminal code. Only output one line of terminal command please. Do not add any other text as the intention is to copy paste this generated output directly in terminal and run.'}], stream=True, ) logging.debug("Ollama API call completed") @@ -145,4 +145,4 @@ def start_custom_cmd(model_name='llama3.2:3b'): args = parser.parse_args() if not args.spawn: - start_custom_cmd(args.model) \ No newline at end of file + start_custom_cmd(args.model)