@receptron/graphai_cli 0.3.2 → 0.4.1
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/lib/graphai_cli.js +2 -7
- package/package.json +2 -2
package/lib/graphai_cli.js
CHANGED
|
@@ -28,7 +28,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
const graphai_1 = require("graphai");
|
|
31
|
-
const packages = __importStar(require("graphai/lib/experimental_agents
|
|
31
|
+
const packages = __importStar(require("graphai/lib/experimental_agents"));
|
|
32
32
|
require("dotenv/config");
|
|
33
33
|
const fs_1 = __importDefault(require("fs"));
|
|
34
34
|
const path_1 = __importDefault(require("path"));
|
|
@@ -69,12 +69,7 @@ const main = async () => {
|
|
|
69
69
|
console.log(yaml_1.default.stringify(graph_data, null, 2));
|
|
70
70
|
return;
|
|
71
71
|
}
|
|
72
|
-
const
|
|
73
|
-
const [__k, v] = current;
|
|
74
|
-
tmp[v.name] = v.agent;
|
|
75
|
-
return tmp;
|
|
76
|
-
}, {});
|
|
77
|
-
const graph = new graphai_1.GraphAI(graph_data, agents);
|
|
72
|
+
const graph = new graphai_1.GraphAI(graph_data, packages);
|
|
78
73
|
if (args_1.args.verbose) {
|
|
79
74
|
graph.onLogCallback = utils_1.callbackLog;
|
|
80
75
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@receptron/graphai_cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "GraphAI command line tools.",
|
|
5
5
|
"main": "lib/graphai_cli.js",
|
|
6
6
|
"bin": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"deepmerge": "^4.3.1",
|
|
46
46
|
"dotenv": "^16.4.5",
|
|
47
47
|
"express": "^4.19.2",
|
|
48
|
-
"graphai": "
|
|
48
|
+
"graphai": "0.4.1",
|
|
49
49
|
"groq-sdk": "^0.3.3",
|
|
50
50
|
"openai": "^4.12.4",
|
|
51
51
|
"slashgpt": "^0.0.8",
|