-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit ec181c5
Add fish shell support (#82)
* feat: Add Google Gemini provider
This commit adds a new provider for Google Gemini, allowing users to select Gemini as their LLM provider in ShellOracle.
The following changes were made:
- Created `src/shelloracle/providers/google.py` with the `Google` provider class.
- Added `google-generativeai` as a dependency in `pyproject.toml`.
- Modified `src/shelloracle/providers/__init__.py` to include the new provider.
- Updated `~/.shelloracle/config.toml` to include a configuration section for the Google provider.1 parent 79f9b9c commit ec181c5
File tree
4 files changed
+30
-13
lines changed- src/shelloracle
- providers
- shell
4 files changed
+30
-13
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
63 | - | ||
63 | + | ||
64 | 64 |
| |
65 | 65 |
| |
66 | 66 |
| |
| |||
122 | 122 |
| |
123 | 123 |
| |
124 | 124 |
| |
125 | - | ||
125 | + | ||
126 | 126 |
| |
127 | 127 |
| |
128 | 128 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 | + | ||
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
| |||
38 | 39 |
| |
39 | 40 |
| |
40 | 41 |
| |
41 | - | ||
42 | + | ||
42 | 43 |
| |
43 | 44 |
| |
44 | 45 |
| |
| |||
49 | 50 |
| |
50 | 51 |
| |
51 | 52 |
| |
53 | + | ||
54 | + | ||
52 | 55 |
| |
53 | 56 |
| |
54 | 57 |
| |
55 | 58 |
| |
56 | 59 |
| |
57 | 60 |
| |
61 | + | ||
62 | + | ||
58 | 63 |
| |
59 | 64 |
| |
60 | 65 |
| |
61 | 66 |
| |
62 | 67 |
| |
63 | 68 |
| |
69 | + | ||
70 | + | ||
64 | 71 |
| |
65 | 72 |
| |
66 | 73 |
| |
| |||
75 | 82 |
| |
76 | 83 |
| |
77 | 84 |
| |
78 | - | ||
79 | - | ||
80 | - | ||
81 | - | ||
85 | + | ||
86 | + | ||
87 | + | ||
88 | + | ||
89 | + | ||
90 | + | ||
91 | + | ||
82 | 92 |
| |
83 | 93 |
| |
84 | 94 |
| |
| |||
119 | 129 |
| |
120 | 130 |
| |
121 | 131 |
| |
122 | - | ||
132 | + | ||
123 | 133 |
| |
124 | 134 |
| |
125 | 135 |
| |
126 | 136 |
| |
127 | - | ||
137 | + | ||
128 | 138 |
| |
129 | 139 |
| |
130 | - | ||
131 | - | ||
132 | 140 |
| |
133 | 141 |
| |
134 | 142 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 | - | ||
12 | + | ||
13 | 13 |
| |
14 | - | ||
14 | + | ||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + |
0 commit comments