diff options
| author | Martin Bielik <martin.bielik@instea.sk> | 2024-12-05 21:12:56 +0100 |
|---|---|---|
| committer | Martin Bielik <martin.bielik@instea.sk> | 2024-12-05 21:12:56 +0100 |
| commit | 9d42c36dd47060050b514a334c4d67a2e9358782 (patch) | |
| tree | 4e41470f65898311badb258c2c0913d02143f404 | |
| parent | 007aa33d11e95040f85c0e4a1bbb6c6d213e3cd7 (diff) | |
| download | vim-ai-9d42c36dd47060050b514a334c4d67a2e9358782.tar.gz | |
o1 role example
| -rw-r--r-- | README.md | 8 | ||||
| -rw-r--r-- | roles-example.ini | 8 |
2 files changed, 10 insertions, 6 deletions
@@ -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. |