draply-dev 1.3.1 → 1.3.2
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/bin/cli.js +1 -1
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -100,7 +100,7 @@ function extractClassName(selector) {
|
|
|
100
100
|
// ── Call Gemini API ───────────────────────────────────────────────────────────
|
|
101
101
|
function callGemini(apiKey, prompt) {
|
|
102
102
|
return new Promise((resolve, reject) => {
|
|
103
|
-
const url = `https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent?key=${apiKey}`;
|
|
103
|
+
const url = `https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash-lite:generateContent?key=${apiKey}`;
|
|
104
104
|
const body = JSON.stringify({
|
|
105
105
|
contents: [{ parts: [{ text: prompt }] }],
|
|
106
106
|
generationConfig: { temperature: 0.1, maxOutputTokens: 8192 }
|