@sisu-ai/mw-tool-calling 3.0.2 → 3.0.3

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/README.md +6 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,19 +1,17 @@
1
1
  # @sisu-ai/mw-tool-calling
2
+
3
+ Native tools API loop for providers that support tool calls.
4
+
2
5
  [![Tests](https://github.com/finger-gun/sisu/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/finger-gun/sisu/actions/workflows/tests.yml)
3
6
  [![License](https://img.shields.io/badge/license-Apache--2.0-blue)](https://github.com/finger-gun/sisu/blob/main/LICENSE)
4
7
  [![Downloads](https://img.shields.io/npm/dm/%40sisu-ai%2Fmw-tool-calling)](https://www.npmjs.com/package/@sisu-ai/mw-tool-calling)
5
8
  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/finger-gun/sisu/blob/main/CONTRIBUTING.md)
6
9
 
7
- Native tools API loop for providers that support tool calls.
8
-
9
10
  ## Setup
10
11
  ```bash
11
12
  npm i @sisu-ai/mw-tool-calling
12
13
  ```
13
14
 
14
- ## Documentation
15
- Discover what you can do through examples or documentation. Check it out at https://github.com/finger-gun/sisu
16
-
17
15
  ## Behavior
18
16
  - `toolCalling`: single-round tool calling.
19
17
  - First turn: calls `ctx.model.generate(messages, { tools, toolChoice:'auto' })`.
@@ -90,6 +88,9 @@ agent.use(iterativeToolCalling);
90
88
  ```
91
89
 
92
90
  # Community & Support
91
+
92
+ Discover what you can do through examples or documentation. Check it out at https://github.com/finger-gun/sisu. Example projects live under [`examples/`](https://github.com/finger-gun/sisu/tree/main/examples) in the repo.
93
+
93
94
  - [Code of Conduct](https://github.com/finger-gun/sisu/blob/main/CODE_OF_CONDUCT.md)
94
95
  - [Contributing Guide](https://github.com/finger-gun/sisu/blob/main/CONTRIBUTING.md)
95
96
  - [License](https://github.com/finger-gun/sisu/blob/main/LICENSE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sisu-ai/mw-tool-calling",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",