From b05b730cb5c1acdb47611a67bb98325bd86c2969 Mon Sep 17 00:00:00 2001 From: sigoden Date: Tue, 11 Jun 2024 15:44:35 +0800 Subject: feat: add config `repl_prelude` and `bot_prelude` (#584) --- config.example.yaml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'config.example.yaml') diff --git a/config.example.yaml b/config.example.yaml index 6708243..d040c66 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -9,7 +9,9 @@ wrap: no # Controls text wrapping (no, auto, wrap_code: false # Enables or disables wrapping of code blocks auto_copy: false # Enables or disables automatic copying the last LLM response to the clipboard keybindings: emacs # Choose keybinding style (emacs, vi) -prelude: null # Set a default role or session to start with (role:, session:) + +prelude: null # Set a default role or session to start with (e.g. role:, session:) +repl_prelude: null # This overrides 'prelude' when using REPL # Command that will be used to edit the current line buffer with ctrl+o # if unset fallback to $EDITOR and $VISUAL @@ -23,6 +25,15 @@ function_calling: false # e.g. 'execute_command|execute_js_code' 'execute_.*' dangerously_functions: null +bot_prelude: null # Set a session to use when starting a bot. (e.g. temp, default) + +bots: + - name: todo-sh + model: null + temperature: null + top_p: null + dangerously_functions: null + # Specifies the embedding model to use embedding_model: null @@ -253,10 +264,3 @@ clients: name: together api_base: https://api.together.xyz/v1 api_key: xxx # ENV: {client}_API_KEY - -bots: - - name: todo-sh - model: null - temperature: null - top_p: null - dangerously_functions: null \ No newline at end of file -- cgit v1.2.3