@alexanderfortin/pi-tavily-tools 0.4.1 → 0.5.0
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/CHANGELOG.md +13 -2
- package/dist/tools/tavily/client.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,20 @@
|
|
|
1
|
-
|
|
1
|
+
# [0.5.0](https://github.com/shaftoe/pi-tavily-tools/compare/v0.4.1...v0.5.0) (2026-04-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* format changelog to make linter happy ([c7987f5](https://github.com/shaftoe/pi-tavily-tools/commit/c7987f547cc91d64475062dc22365311067e54e8))
|
|
2
7
|
|
|
3
8
|
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* increase default max_results from 5 to 8 ([661a995](https://github.com/shaftoe/pi-tavily-tools/commit/661a9957911afcbd170d0318308a56f4653e8dc4))
|
|
12
|
+
|
|
13
|
+
## [0.4.1](https://github.com/shaftoe/pi-tavily-tools/compare/v0.4.0...v0.4.1) (2026-04-08)
|
|
14
|
+
|
|
4
15
|
### Bug Fixes
|
|
5
16
|
|
|
6
|
-
|
|
17
|
+
- sanitize provider errors to prevent credential leakage ([#7](https://github.com/shaftoe/pi-tavily-tools/issues/7)) ([792a0a2](https://github.com/shaftoe/pi-tavily-tools/commit/792a0a28dcfb8e82a2711db16c492769b1361504))
|
|
7
18
|
|
|
8
19
|
# [0.4.0](https://github.com/shaftoe/pi-tavily-tools/compare/v0.3.1...v0.4.0) (2026-04-08)
|
|
9
20
|
|
|
@@ -30,7 +30,7 @@ export function createTavilyClient(apiKey) {
|
|
|
30
30
|
*/
|
|
31
31
|
export function buildSearchOptions(params) {
|
|
32
32
|
return {
|
|
33
|
-
maxResults: typeof params.max_results === "number" ? Math.max(1, Math.min(20, params.max_results)) :
|
|
33
|
+
maxResults: typeof params.max_results === "number" ? Math.max(1, Math.min(20, params.max_results)) : 8,
|
|
34
34
|
searchDepth: params.search_depth ?? "basic",
|
|
35
35
|
includeAnswer: params.include_answer !== false,
|
|
36
36
|
includeImages: params.include_images === true,
|
package/package.json
CHANGED