@receptron/graphai_express 0.0.16 → 0.0.18
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/express.js +2 -1
- package/package.json +4 -4
package/lib/express.js
CHANGED
|
@@ -115,7 +115,7 @@ const agentDispatcherInternal = (agentDictionary, agentFilters = []) => {
|
|
|
115
115
|
return async (req, res) => {
|
|
116
116
|
const { params } = req;
|
|
117
117
|
const { agentId } = params;
|
|
118
|
-
const { nodeId, retry, params: agentParams, inputs } = req.body;
|
|
118
|
+
const { nodeId, retry, params: agentParams, inputs, namedInputs } = req.body;
|
|
119
119
|
const agent = agentDictionary[agentId];
|
|
120
120
|
if (agent === undefined) {
|
|
121
121
|
res.status(404).send("Not found");
|
|
@@ -124,6 +124,7 @@ const agentDispatcherInternal = (agentDictionary, agentFilters = []) => {
|
|
|
124
124
|
const context = {
|
|
125
125
|
params: agentParams || {},
|
|
126
126
|
inputs,
|
|
127
|
+
namedInputs,
|
|
127
128
|
debugInfo: {
|
|
128
129
|
nodeId,
|
|
129
130
|
retry,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@receptron/graphai_express",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18",
|
|
4
4
|
"description": "GraphAI express web server middleware.",
|
|
5
5
|
"main": "lib/express.js",
|
|
6
6
|
"files": [
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"homepage": "https://github.com/receptron/graphai_utils/tree/main/packages/express#readme",
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@graphai/agents": "^0.0.
|
|
29
|
+
"@graphai/agents": "^0.0.9",
|
|
30
30
|
"@types/express": "^4.17.21",
|
|
31
31
|
"@types/node": "^20.8.7",
|
|
32
32
|
"eslint": "^9.3.0",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"typescript-eslint": "^7.9.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@graphai/agent_filters": "^0.0.
|
|
41
|
+
"@graphai/agent_filters": "^0.0.3",
|
|
42
42
|
"dotenv": "^16.4.5",
|
|
43
43
|
"express": "^4.19.2",
|
|
44
|
-
"graphai": "^0.
|
|
44
|
+
"graphai": "^0.5.1"
|
|
45
45
|
},
|
|
46
46
|
"types": "./lib/express.d.ts",
|
|
47
47
|
"directories": {
|