@polka-codes/cli-shared 0.9.83 → 0.9.85

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -64792,11 +64792,12 @@ ${content}`;
64792
64792
  }
64793
64793
  },
64794
64794
  search: searchModel && (async (query) => {
64795
+ const googleSearchTool = vertex.tools.googleSearch({});
64795
64796
  const resp = await generateText({
64796
64797
  model: searchModel,
64797
64798
  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.",
64798
64799
  tools: {
64799
- google_search: vertex.tools.googleSearch({})
64800
+ google_search: googleSearchTool
64800
64801
  },
64801
64802
  prompt: query,
64802
64803
  stopWhen: stepCountIs(5)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polka-codes/cli-shared",
3
- "version": "0.9.83",
3
+ "version": "0.9.85",
4
4
  "license": "AGPL-3.0",
5
5
  "author": "github@polka.codes",
6
6
  "type": "module",
@@ -21,7 +21,7 @@
21
21
  "@ai-sdk/provider": "^2.0.1",
22
22
  "@ai-sdk/provider-utils": "^3.0.20",
23
23
  "@inquirer/prompts": "^8.1.0",
24
- "@polka-codes/core": "0.9.82",
24
+ "@polka-codes/core": "0.9.84",
25
25
  "ai": "^5.0.117",
26
26
  "chalk": "^5.6.2",
27
27
  "ignore": "^7.0.5",