@llmops/app 1.0.0-beta.5 → 1.0.0-beta.7
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 +2 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +4 -3
package/dist/index.cjs
CHANGED
|
@@ -47,6 +47,7 @@ let node_url = require("node:url");
|
|
|
47
47
|
let node_path = require("node:path");
|
|
48
48
|
let node_fs = require("node:fs");
|
|
49
49
|
let __hono_zod_validator = require("@hono/zod-validator");
|
|
50
|
+
let __llmops_sdk = require("@llmops/sdk");
|
|
50
51
|
let hono_pretty_json = require("hono/pretty-json");
|
|
51
52
|
let hono_http_exception = require("hono/http-exception");
|
|
52
53
|
let hono_cors = require("hono/cors");
|
|
@@ -13779,7 +13780,7 @@ const app$7 = new hono.Hono().get("/requests", zv("query", zod_default.object({
|
|
|
13779
13780
|
return c.json(internalServerError("Failed to fetch daily costs", 500), 500);
|
|
13780
13781
|
}
|
|
13781
13782
|
}).get("/costs/summary", zv("query", dateRangeWithFiltersSchema.extend({
|
|
13782
|
-
groupBy: zod_default.enum(
|
|
13783
|
+
groupBy: zod_default.enum(__llmops_sdk.COST_SUMMARY_GROUP_BY).optional(),
|
|
13783
13784
|
tagKeys: zod_default.string().optional()
|
|
13784
13785
|
})), async (c) => {
|
|
13785
13786
|
const db = c.get("telemetryStore");
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as hono_hono_base0 from "hono/hono-base";
|
|
2
2
|
import * as hono_types0 from "hono/types";
|
|
3
|
-
import { InlineProvidersConfig, LLMOpsConfig,
|
|
3
|
+
import { InlineProvidersConfig, LLMOpsConfig, ValidatedLLMOpsConfig } from "@llmops/core";
|
|
4
|
+
import { TelemetryStore } from "@llmops/sdk";
|
|
4
5
|
import { Hono } from "hono";
|
|
5
6
|
|
|
6
7
|
//#region src/server/types.d.ts
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Hono } from "hono";
|
|
2
|
-
import { InlineProvidersConfig, LLMOpsConfig,
|
|
2
|
+
import { InlineProvidersConfig, LLMOpsConfig, ValidatedLLMOpsConfig } from "@llmops/core";
|
|
3
|
+
import { TelemetryStore } from "@llmops/sdk";
|
|
3
4
|
import * as hono_hono_base0 from "hono/hono-base";
|
|
4
5
|
import * as hono_types0 from "hono/types";
|
|
5
6
|
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { Hono } from "hono";
|
|
2
|
-
import {
|
|
2
|
+
import { LLMOPS_REQUEST_ID_HEADER, LLMOPS_SESSION_ID_HEADER, LLMOPS_SPAN_ID_HEADER, LLMOPS_SPAN_NAME_HEADER, LLMOPS_TRACE_ID_HEADER, LLMOPS_TRACE_NAME_HEADER, LLMOPS_USER_ID_HEADER, SupportedProviders, calculateCacheAwareCost, getDefaultPricingProvider, logger, validateLLMOpsConfig } from "@llmops/core";
|
|
3
3
|
import nunjucks from "nunjucks";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
import { dirname, join } from "node:path";
|
|
6
6
|
import { existsSync, readFileSync } from "node:fs";
|
|
7
7
|
import { zValidator } from "@hono/zod-validator";
|
|
8
|
+
import { COST_SUMMARY_GROUP_BY } from "@llmops/sdk";
|
|
8
9
|
import { prettyJSON } from "hono/pretty-json";
|
|
9
10
|
import { HTTPException } from "hono/http-exception";
|
|
10
11
|
import { cors } from "hono/cors";
|
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.7",
|
|
4
4
|
"description": "LLMOps application with server and client",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -76,8 +76,9 @@
|
|
|
76
76
|
"react-hook-form": "^7.68.0",
|
|
77
77
|
"recharts": "^3.6.0",
|
|
78
78
|
"uuid": "^13.0.0",
|
|
79
|
-
"@llmops/
|
|
80
|
-
"@llmops/
|
|
79
|
+
"@llmops/gateway": "^1.0.0-beta.7",
|
|
80
|
+
"@llmops/sdk": "^1.0.0-beta.7",
|
|
81
|
+
"@llmops/core": "^1.0.0-beta.7"
|
|
81
82
|
},
|
|
82
83
|
"peerDependencies": {
|
|
83
84
|
"react": "^19.2.1",
|