spectrawl 0.3.9 → 0.3.10
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/package.json +1 -1
- package/src/search/summarizer.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spectrawl",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.10",
|
|
4
4
|
"description": "The unified web layer for AI agents. Search (6 engines), stealth browse (Camoufox + Playwright), auth (cookies, multi-account), act (24 adapters, 30+ platforms), proxy rotation. Self-hosted, free.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "index.d.ts",
|
package/src/search/summarizer.js
CHANGED
|
@@ -131,7 +131,7 @@ Answer:`
|
|
|
131
131
|
const url = `https://generativelanguage.googleapis.com/v1beta/models/${model}:generateContent?key=${this.apiKey}`
|
|
132
132
|
const body = JSON.stringify({
|
|
133
133
|
contents: [{ parts: [{ text: prompt }] }],
|
|
134
|
-
generationConfig: { temperature: 0.3, maxOutputTokens:
|
|
134
|
+
generationConfig: { temperature: 0.3, maxOutputTokens: 2048 }
|
|
135
135
|
})
|
|
136
136
|
|
|
137
137
|
const data = await postJson(url, body, { 'Content-Type': 'application/json' })
|