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
Copy file name to clipboardExpand all lines: README.md
+4-10Lines changed: 4 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -145,25 +145,19 @@ When a gem is selected:
145
145
146
146
- The server uses the gem definition's `model` as the actual Gemini model name for the upstream call.
147
147
- The OpenAI-compatible response tries to echo back the client-provided `model` (i.e. `gem:<id>`) to keep client-side consistency.
148
+
-**Auto-Sync**: On startup, the server checks if these gems exist on your Google account. If missing, it automatically creates them using the provided `id` (as title) and `system_prompt`.
148
149
149
150
Example config:
150
151
151
152
```yaml
152
153
gemini:
153
154
gems:
154
-
- id: "default-gem"
155
-
model: "gemini-3.0-pro"
156
-
system_prompt: "You are a careful assistant."
155
+
- id: "coding-helper"
156
+
model: "gemini-2.0-flash"
157
+
system_prompt: "You are an expert software engineer."
157
158
tool_policy: "allow"# allow | disallow | auto
158
159
default_temperature: 0.2
159
160
top_p: 0.8
160
-
max_output_tokens: 1024
161
-
162
-
# Native Gem (Use Gems created on gemini.google.com)
163
-
- id: "my-native-gem"
164
-
model: "gemini-2.0-flash"
165
-
is_native: true # This flag passes the 'id' to Google's servers
166
-
default_temperature: 1.0# Parameters can still be overridden locally
0 commit comments