@receptron/graphai_express 0.0.8 → 0.0.10
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 +0 -1
- package/package.json +3 -3
package/lib/express.js
CHANGED
|
@@ -57,7 +57,6 @@ const agentDispatcher = (agentDictionary, agentFilters = []) => {
|
|
|
57
57
|
const stream = (0, exports.streamAgentDispatcher)(agentDictionary, agentFilters);
|
|
58
58
|
return async (req, res) => {
|
|
59
59
|
const isStreaming = (req.headers["content-type"] || "").startsWith("text/event-stream");
|
|
60
|
-
console.log(isStreaming);
|
|
61
60
|
if (isStreaming) {
|
|
62
61
|
return await stream(req, res);
|
|
63
62
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@receptron/graphai_express",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "GraphAI express web server middleware.",
|
|
5
5
|
"main": "lib/express.js",
|
|
6
6
|
"files": [
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"deepmerge": "^4.3.1",
|
|
43
43
|
"dotenv": "^16.4.5",
|
|
44
44
|
"express": "^4.19.2",
|
|
45
|
-
"graphai": "0.4.
|
|
45
|
+
"graphai": "^0.4.4",
|
|
46
46
|
"groq-sdk": "^0.3.3",
|
|
47
47
|
"openai": "^4.12.4",
|
|
48
|
-
"slashgpt": "^0.1.
|
|
48
|
+
"slashgpt": "^0.1.2",
|
|
49
49
|
"tiktoken": "^1.0.14",
|
|
50
50
|
"wikipedia": "^2.1.2",
|
|
51
51
|
"xml2js": "^0.6.2",
|