agent-swarm-kit 1.0.1 → 1.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.
- package/README.md +7 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,8 +37,10 @@ const NAVIGATE_TOOL = addTool({
|
|
|
37
37
|
parameters: {
|
|
38
38
|
type: "object",
|
|
39
39
|
properties: {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
to: {
|
|
41
|
+
type: "string",
|
|
42
|
+
description: "The target agent for navigation",
|
|
43
|
+
},
|
|
42
44
|
},
|
|
43
45
|
required: ["to"],
|
|
44
46
|
},
|
|
@@ -51,6 +53,9 @@ const MOCK_COMPLETION = addCompletion({
|
|
|
51
53
|
completionName: "navigate-completion",
|
|
52
54
|
/**
|
|
53
55
|
* Use whatever you want: NVIDIA NIM, OpenAI, GPT4All, Ollama or LM Studio
|
|
56
|
+
* Even mock it for unit test of tool integration like it done in `test` folder
|
|
57
|
+
*
|
|
58
|
+
* @see https://github.com/tripolskypetr/agent-swarm-kit/tree/master/test
|
|
54
59
|
*/
|
|
55
60
|
getCompletion: async ({ messages, tools }) => {
|
|
56
61
|
return ollama.chat({
|