diff options
| author | sigoden <sigoden@gmail.com> | 2024-06-11 14:01:45 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-11 14:01:45 +0800 |
| commit | 861529374726609a56f6b8af1145a0df5c924dcc (patch) | |
| tree | 78c7636f7e65d8bea24a7566010b2663840b9e2a /config.example.yaml | |
| parent | 822688a06a2dd2c45c7a1d5fd32f8f0d415d8620 (diff) | |
| download | aichat-861529374726609a56f6b8af1145a0df5c924dcc.tar.gz | |
feat: add config `dangerously_functions` (#582)
Diffstat (limited to 'config.example.yaml')
| -rw-r--r-- | config.example.yaml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config.example.yaml b/config.example.yaml index fb5bcf2..6708243 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -18,6 +18,11 @@ buffer_editor: null # Controls the function calling feature. For setup instructions, visit https://github.com/sigoden/llm-functions function_calling: false +# Regex for seletecting dangerous functions. +# User confirmation is required when executing these functions. +# e.g. 'execute_command|execute_js_code' 'execute_.*' +dangerously_functions: null + # Specifies the embedding model to use embedding_model: null @@ -253,4 +258,5 @@ bots: - name: todo-sh model: null temperature: null - top_p: null
\ No newline at end of file + top_p: null + dangerously_functions: null
\ No newline at end of file |
