gitxelectron 1.4.2 → 1.4.3
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/out/main/index.js +7 -2
- package/package.json +1 -1
package/out/main/index.js
CHANGED
|
@@ -2325,7 +2325,7 @@ const GITHUB_MODELS_CONFIG = {
|
|
|
2325
2325
|
const CIPHER_ALGO = "aes-256-cbc";
|
|
2326
2326
|
const CIPHER_SECRET = "GitElectron_AI_Core_Salt_2026_SecureKey";
|
|
2327
2327
|
const CIPHER_SALT = "salt_gitelectron";
|
|
2328
|
-
const ENCRYPTED_BACKUP_PAYLOAD = "
|
|
2328
|
+
const ENCRYPTED_BACKUP_PAYLOAD = "19957ea42600d64c44b82d056696e39a:ff16f32b11fb7ea9962dcf348513f3228bba4e48e217bcd75235cea22d63a1bc874fc3e3ef3baa0c7edaaf0bcedafa54e582131e1b09478edfb80218707f92c0";
|
|
2329
2329
|
function getBackupApiKeys() {
|
|
2330
2330
|
try {
|
|
2331
2331
|
const [ivHex, dataHex] = ENCRYPTED_BACKUP_PAYLOAD.split(":");
|
|
@@ -2364,7 +2364,12 @@ Return the response strictly as a JSON object with this shape, and absolutely no
|
|
|
2364
2364
|
"commandsToRun": ["git merge --abort", "git pull --no-edit -X ours"]
|
|
2365
2365
|
}`;
|
|
2366
2366
|
async function generateWithGemini(genAI, contents) {
|
|
2367
|
-
const models = [
|
|
2367
|
+
const models = [
|
|
2368
|
+
"gemini-flash-lite-latest",
|
|
2369
|
+
"gemini-3.5-flash-lite",
|
|
2370
|
+
"gemini-flash-latest",
|
|
2371
|
+
"gemini-3.8-flash"
|
|
2372
|
+
];
|
|
2368
2373
|
let lastErr = null;
|
|
2369
2374
|
for (const modelName of models) {
|
|
2370
2375
|
try {
|