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 --- tests/resources/roles.ini | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) (limited to 'tests/resources/roles.ini') 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 -- cgit v1.2.3