@llmops/app 1.0.0-beta.14 → 1.0.0-beta.15
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/dist/index.cjs +3 -0
- package/dist/index.mjs +3 -0
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -14753,6 +14753,8 @@ async function processUsageAndLog(params) {
|
|
|
14753
14753
|
};
|
|
14754
14754
|
batchWriter.enqueue(requestData);
|
|
14755
14755
|
log(`Enqueued request ${requestId} for logging`);
|
|
14756
|
+
const isEdge = typeof globalThis.process === "undefined" || !globalThis.process?.versions?.node;
|
|
14757
|
+
if (isEdge) await batchWriter.flush();
|
|
14756
14758
|
if (traceBatchWriter && traceContext) {
|
|
14757
14759
|
const now = /* @__PURE__ */ new Date();
|
|
14758
14760
|
const startTimeDate = new Date(now.getTime() - latencyMs);
|
|
@@ -14827,6 +14829,7 @@ async function processUsageAndLog(params) {
|
|
|
14827
14829
|
trace: traceData
|
|
14828
14830
|
});
|
|
14829
14831
|
log(`Enqueued trace span ${traceContext.spanId} for trace ${traceContext.traceId}`);
|
|
14832
|
+
if (isEdge) await traceBatchWriter.flush();
|
|
14830
14833
|
}
|
|
14831
14834
|
}
|
|
14832
14835
|
|
package/dist/index.mjs
CHANGED
|
@@ -14727,6 +14727,8 @@ async function processUsageAndLog(params) {
|
|
|
14727
14727
|
};
|
|
14728
14728
|
batchWriter.enqueue(requestData);
|
|
14729
14729
|
log(`Enqueued request ${requestId} for logging`);
|
|
14730
|
+
const isEdge = typeof globalThis.process === "undefined" || !globalThis.process?.versions?.node;
|
|
14731
|
+
if (isEdge) await batchWriter.flush();
|
|
14730
14732
|
if (traceBatchWriter && traceContext) {
|
|
14731
14733
|
const now = /* @__PURE__ */ new Date();
|
|
14732
14734
|
const startTimeDate = new Date(now.getTime() - latencyMs);
|
|
@@ -14801,6 +14803,7 @@ async function processUsageAndLog(params) {
|
|
|
14801
14803
|
trace: traceData
|
|
14802
14804
|
});
|
|
14803
14805
|
log(`Enqueued trace span ${traceContext.spanId} for trace ${traceContext.traceId}`);
|
|
14806
|
+
if (isEdge) await traceBatchWriter.flush();
|
|
14804
14807
|
}
|
|
14805
14808
|
}
|
|
14806
14809
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@llmops/app",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.15",
|
|
4
4
|
"description": "LLMOps application with server and client",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -75,9 +75,9 @@
|
|
|
75
75
|
"react-hook-form": "^7.68.0",
|
|
76
76
|
"recharts": "^3.6.0",
|
|
77
77
|
"uuid": "^13.0.0",
|
|
78
|
-
"@llmops/
|
|
79
|
-
"@llmops/
|
|
80
|
-
"@llmops/
|
|
78
|
+
"@llmops/core": "^1.0.0-beta.15",
|
|
79
|
+
"@llmops/gateway": "^1.0.0-beta.15",
|
|
80
|
+
"@llmops/sdk": "^1.0.0-beta.15"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
83
|
"react": "^19.2.1",
|