From c54f6f7d81280d00473abb1d56d55f3cfc321b5b Mon Sep 17 00:00:00 2001 From: Elijah Cornell Date: Mon, 13 Mar 2023 17:40:28 -0500 Subject: [PATCH] settings udpate --- AI-Tools.ahk | 6 +++--- settings.ini.default | 26 ++++++++++++++++++-------- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/AI-Tools.ahk b/AI-Tools.ahk index 94dbdb5..6ddc84e 100644 --- a/AI-Tools.ahk +++ b/AI-Tools.ahk @@ -72,7 +72,7 @@ PromptHandler(promptName, append := false) { global isRunning := true ShowWaitTooltip() - SetSystemCursor(GetSetting("settings", "cursor_wait_animation_file","wait-1.ani")) + SetSystemCursor(GetSetting("settings", "cursor_wait_animation_file","wait")) prompt := GetSetting(promptName, "prompt") promptEnd := GetSetting(promptName, "prompt_end") @@ -393,8 +393,8 @@ Unescape(obj) { ShowWaitTooltip() { if (isRunning) { - ToolTip " Generating response..." - SetTimer () => ShowWaitTooltip(), -250 + ToolTip "Generating response..." + SetTimer () => ShowWaitTooltip(), -50 } else { ToolTip() } diff --git a/settings.ini.default b/settings.ini.default index 51f02b2..290ce2b 100644 --- a/settings.ini.default +++ b/settings.ini.default @@ -17,7 +17,7 @@ hotkey_2 = ^+k menu_hotkey = ^!+k ;- Misc -cursor_wait_animation_file=wait-1.ani +; cursor_wait_animation_file=wait-1.ani ;------------------------------------------------------------------------------ ; Popup Menu @@ -46,13 +46,23 @@ prompt_continue ;------------------------------------------------------------------------------ ; Prompts ;--------- -; prompt: The main prompt to prepend before to the user input -; menu_text: The text to be displayed in the popup menu -; mode: The mode to be used for the prompt - see modes section -; prompt_system: The system prompt send of system input for chat completion mode -; prompt_end: Text to append to the end of user input -; append: If true, the response will be appended to the user input -; ~mode overrides~: Any mode setting can be overriden for a specific prompt +; prompt : (Required) The main prompt to prepend before to +; the user input +; mode : (Required) The mode to be used for the prompt +; - see modes section +; menu_text : (Optional) The text to be displayed in the popup menu +; prompt_system : (Optional) The system prompt send of system input +; for chat completion mode +; prompt_end : (Optional) Text to append to the end of user input +; replace_selected : (Optional:True/False:Defult True) If true, the response +; will be appended to the user input +; response_seperator : (Optional:Default "") The text to append between +; the user input and the response +; ~mode overrides~ : (Optional) Any mode setting can be overriden for a +; specific prompt +; -- +; Note: String values must be enclosed in double quotes and can use \n for +; new lines ;------------------------------------------------------------------------------ [prompt_writting] prompt="Improve the writting for clarity and conciseness and correct the spelling (American English) and grammar of the following:\n\n"