From 2a418adca13bc7f8d4b35a4a1ec83fe0e5aedd91 Mon Sep 17 00:00:00 2001 From: Martin Bielik Date: Mon, 16 Dec 2024 23:13:35 +0100 Subject: new role syntax --- roles-example.ini | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) (limited to 'roles-example.ini') diff --git a/roles-example.ini b/roles-example.ini index 9b13cd4..6134aca 100644 --- a/roles-example.ini +++ b/roles-example.ini @@ -7,27 +7,25 @@ [grammar] prompt = fix spelling and grammar +# common options for all commands (complete, edit, chat) [refactor] prompt = You are a Clean Code expert, I have the following code, please refactor it in a more clean and concise way so that my colleagues can maintain the code more easily. Also, explain why you want to refactor the code so that I can add the explanation to the Pull Request. -# common options for all commands (complete, edit, chat) -[refactor.options] -temperature = 0.4 +config.options.temperature = 0.4 # command specific options: -[refactor.options-chat] -model = gpt-4o -[refactor.options-complete] -model = gpt-4 -[refactor.options-edit] -model = gpt-4 +[refactor.chat] +config.options.model = gpt-4o +[refactor.complete] +config.options.model = gpt-4 +[refactor.edit] +config.options.model = gpt-4 [o1-mini] -[o1-mini.options] -stream = 0 -model = o1-mini -max_completion_tokens = 25000 -temperature = 1 -initial_prompt = +config.options.stream = 0 +config.options.model = o1-mini +config.options.max_completion_tokens = 25000 +config.options.temperature = 1 +config.options.initial_prompt = -- cgit v1.2.3