From 9d42c36dd47060050b514a334c4d67a2e9358782 Mon Sep 17 00:00:00 2001 From: Martin Bielik Date: Thu, 5 Dec 2024 21:12:56 +0100 Subject: o1 role example --- README.md | 8 ++++++++ roles-example.ini | 8 ++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1bc17a5..f0ec13f 100644 --- a/README.md +++ b/README.md @@ -196,6 +196,14 @@ prompt = fix spelling and grammar [grammar.options] temperature = 0.4 + +[o1-mini] +[o1-mini.options] +stream = 0 +model = o1-mini +max_completion_tokens = 25000 +temperature = 1 +initial_prompt = ``` Now you can select text and run it with command `:AIEdit /grammar`. diff --git a/roles-example.ini b/roles-example.ini index dde5fe0..03e970b 100644 --- a/roles-example.ini +++ b/roles-example.ini @@ -17,18 +17,14 @@ temperature = 0.4 # engine specific options: [refactor.options-chat] -model = gpt-4 +model = gpt-4o [refactor.options-complete] [o1-mini] -[o1-mini.options-chat] +[o1-mini.options] stream = 0 model = o1-mini -max_tokens = 0 max_completion_tokens = 25000 temperature = 1 initial_prompt = - >>> user - You are a general assistant. - If you attach a code block add syntax type after ``` to enable syntax highlighting. -- cgit v1.2.3