coder-agent 2.4.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent.js +3 -1
- package/dist/index.js +6 -2
- package/package.json +1 -1
package/dist/agent.js
CHANGED
|
@@ -244,7 +244,9 @@ async function callGeminiAPIWithRotation(apiKey, params, maxRetries = 3, initial
|
|
|
244
244
|
"gemini-2.5-flash",
|
|
245
245
|
"gemini-2.5-pro",
|
|
246
246
|
"gemini-3.5-flash",
|
|
247
|
-
"gemini-3.1-flash-lite"
|
|
247
|
+
"gemini-3.1-flash-lite",
|
|
248
|
+
"gemma-4-31b-it",
|
|
249
|
+
"gemma-4-26b-a4b-it"
|
|
248
250
|
];
|
|
249
251
|
let currentModel = params.model;
|
|
250
252
|
let modelIndex = rotationList.indexOf(currentModel);
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,9 @@ const VALID_MODELS = [
|
|
|
10
10
|
"gemini-3.5-flash",
|
|
11
11
|
"gemini-3.1-flash-lite",
|
|
12
12
|
"gemini-2.0-flash",
|
|
13
|
-
"gemini-2.0-pro-exp"
|
|
13
|
+
"gemini-2.0-pro-exp",
|
|
14
|
+
"gemma-4-31b-it",
|
|
15
|
+
"gemma-4-26b-a4b-it"
|
|
14
16
|
];
|
|
15
17
|
function printBanner(modelName) {
|
|
16
18
|
console.clear();
|
|
@@ -67,11 +69,13 @@ function printHelp() {
|
|
|
67
69
|
console.log(chalk.white(" --set-key <api_key> — Save your Gemini API Key globally"));
|
|
68
70
|
console.log(chalk.white(" --set-gemini-key <api_key> — Save your Gemini API Key globally (alias)"));
|
|
69
71
|
console.log("");
|
|
70
|
-
console.log(chalk.gray(" Popular Gemini Models:"));
|
|
72
|
+
console.log(chalk.gray(" Popular Gemini & Gemma Models:"));
|
|
71
73
|
console.log(chalk.white(" gemini-3.5-flash — Newest, highly capable & fast"));
|
|
72
74
|
console.log(chalk.white(" gemini-2.5-flash — Default, highly capable & fast"));
|
|
73
75
|
console.log(chalk.white(" gemini-2.5-pro — Reasoning model, excellent coding"));
|
|
74
76
|
console.log(chalk.white(" gemini-3.1-flash-lite — Light-weight, high volume"));
|
|
77
|
+
console.log(chalk.white(" gemma-4-31b-it — Gemma 4 31B instruction-tuned"));
|
|
78
|
+
console.log(chalk.white(" gemma-4-26b-a4b-it — Gemma 4 26B Mixture-of-Experts"));
|
|
75
79
|
console.log(chalk.white(" gemini-2.0-flash — (Deprecated) Ultra-fast, lightweight"));
|
|
76
80
|
console.log(chalk.white(" gemini-2.0-pro-exp — (Deprecated) Experimental reasoning"));
|
|
77
81
|
console.log("");
|