@polka-codes/runner 0.9.84 → 0.9.86
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/index.js +3 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -40499,7 +40499,7 @@ var {
|
|
|
40499
40499
|
Help
|
|
40500
40500
|
} = import__.default;
|
|
40501
40501
|
// package.json
|
|
40502
|
-
var version = "0.9.
|
|
40502
|
+
var version = "0.9.86";
|
|
40503
40503
|
|
|
40504
40504
|
// src/runner.ts
|
|
40505
40505
|
import { execSync } from "node:child_process";
|
|
@@ -70260,11 +70260,12 @@ ${content}`;
|
|
|
70260
70260
|
}
|
|
70261
70261
|
},
|
|
70262
70262
|
search: searchModel && (async (query) => {
|
|
70263
|
+
const googleSearchTool = vertex.tools.googleSearch({});
|
|
70263
70264
|
const resp = await generateText({
|
|
70264
70265
|
model: searchModel,
|
|
70265
70266
|
system: "You are a web search assistant. When searching for information, provide comprehensive and detailed results. Include relevant facts, statistics, dates, and key details from the search results. Synthesize information from multiple sources when available. Structure your response clearly with the most relevant information first. Reference or cite sources when presenting specific claims or data.",
|
|
70266
70267
|
tools: {
|
|
70267
|
-
google_search:
|
|
70268
|
+
google_search: googleSearchTool
|
|
70268
70269
|
},
|
|
70269
70270
|
prompt: query,
|
|
70270
70271
|
stopWhen: stepCountIs(5)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polka-codes/runner",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.86",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"author": "github@polka.codes",
|
|
6
6
|
"type": "module",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@ai-sdk/provider": "^2.0.1",
|
|
21
|
-
"@polka-codes/cli-shared": "0.9.
|
|
22
|
-
"@polka-codes/core": "0.9.
|
|
21
|
+
"@polka-codes/cli-shared": "0.9.84",
|
|
22
|
+
"@polka-codes/core": "0.9.84",
|
|
23
23
|
"commander": "^14.0.2",
|
|
24
24
|
"dotenv": "^17.2.3",
|
|
25
25
|
"ignore": "^7.0.5",
|