diff options
| author | Martin Bielik <martin.bielik@instea.sk> | 2024-12-16 23:13:35 +0100 |
|---|---|---|
| committer | Martin Bielik <martin.bielik@instea.sk> | 2024-12-16 23:13:35 +0100 |
| commit | 2a418adca13bc7f8d4b35a4a1ec83fe0e5aedd91 (patch) | |
| tree | b52d43e7e758e101b972b8de639b3379f669e0a2 /tests/resources | |
| parent | b81a3c7cb4fb15295262e4e6a2896e5bc88c51de (diff) | |
| download | vim-ai-2a418adca13bc7f8d4b35a4a1ec83fe0e5aedd91.tar.gz | |
new role syntax
Diffstat (limited to 'tests/resources')
| -rw-r--r-- | tests/resources/roles.ini | 33 |
1 files changed, 25 insertions, 8 deletions
diff --git a/tests/resources/roles.ini b/tests/resources/roles.ini index 66b77ca..16335d3 100644 --- a/tests/resources/roles.ini +++ b/tests/resources/roles.ini @@ -1,18 +1,35 @@ [test-role-simple] prompt = simple role prompt -[test-role-simple.options] -model = o1-preview +config.options.model = o1-preview [test-role] -[test-role.options] +config.options.model = model-common +config.ui.paste_mode = 0 +[test-role.chat] +config.options.endpoint_url = https://localhost/chat +config.ui.open_chat_command = preset_tab +[test-role.complete] +config.engine = complete +config.options.endpoint_url = https://localhost/complete +[test-role.edit] +config.engine = complete +config.options.endpoint_url = https://localhost/edit + +[deprecated-test-role-simple] +prompt = simple role prompt +[deprecated-test-role-simple.options] +model = o1-preview + +[deprecated-test-role] +[deprecated-test-role.options] model = model-common -[test-role.options-chat] +[deprecated-test-role.options-chat] endpoint_url = https://localhost/chat -[test-role.options-complete] +[deprecated-test-role.options-complete] endpoint_url = https://localhost/complete -[test-role.options-edit] +[deprecated-test-role.options-edit] endpoint_url = https://localhost/edit -[test-role.ui] +[deprecated-test-role.ui] paste_mode = 0 -[test-role.ui-chat] +[deprecated-test-role.ui-chat] open_chat_command = preset_tab |