You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Note: You need to set your own Google AI key in the `$HOME/.local/share/gemini/config.ini` file.
28
+
29
+
## Configuration
30
+
The default configuration file is located at `$HOME/.local/share/gemini/config.ini`. You can set your Google AI key and Gemini model name in this file.
31
+
```ini
32
+
[Gemini]
33
+
# set your own google ai key
34
+
googleAIKey=
35
+
# set gemini model name
36
+
model=gemini-pro
37
+
[SafetySetting]
38
+
# HarmBlockUnspecified HarmBlockThreshold = 0
39
+
# HarmBlockLowAndAbove means content with NEGLIGIBLE will be allowed.
40
+
# HarmBlockLowAndAbove HarmBlockThreshold = 1
41
+
# HarmBlockMediumAndAbove means content with NEGLIGIBLE and LOW will be allowed.
42
+
# HarmBlockMediumAndAbove HarmBlockThreshold = 2
43
+
# HarmBlockOnlyHigh means content with NEGLIGIBLE, LOW, and MEDIUM will be allowed.
44
+
# HarmBlockOnlyHigh HarmBlockThreshold = 3
45
+
# HarmBlockNone means all content will be allowed.
46
+
# HarmBlockNone HarmBlockThreshold = 4
47
+
level=4
48
+
```
49
+
50
+
## Chat History
51
+
The default database file is located at `$HOME/.local/share/gemini/gemini.db`. You can view your chat history in this file.
0 commit comments