Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(typo): documentation #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions initialterm/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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)
start_custom_cmd(args.model)