mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
added user option for gemini safety
This commit is contained in:
parent
1e297a54d1
commit
2b496dd498
2 changed files with 2 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ let configOptions = {
|
|||
'defaultTemperature': 0.9,
|
||||
'enhancements': true,
|
||||
'useHistory': true,
|
||||
'safety': true,
|
||||
'writingCursor': " ...", // Warning: Using weird characters can mess up Markdown rendering
|
||||
'proxyUrl': null, // Can be "socks5://127.0.0.1:9050" or "http://127.0.0.1:8080" for example. Leave it blank if you don't need it.
|
||||
},
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ class GeminiService extends Service {
|
|||
_usingHistory = userOptions.ai.useHistory;
|
||||
_key = '';
|
||||
_requestCount = 0;
|
||||
_safe = true;
|
||||
_safe = userOptions.ai.safety;
|
||||
_temperature = userOptions.ai.defaultTemperature;
|
||||
_messages = [];
|
||||
_modelIndex = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue