@llmops/app 0.1.2-beta.2 → 0.1.2
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 +20 -16
- package/dist/index.mjs +20 -16
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -13409,22 +13409,26 @@ const createRequestGuardMiddleware = () => {
|
|
|
13409
13409
|
c.set("configId", headers["data"]["x-llmops-config"]);
|
|
13410
13410
|
c.set("envSec", headers["data"]["x-llmops-environment"]);
|
|
13411
13411
|
await next();
|
|
13412
|
-
} else
|
|
13413
|
-
|
|
13414
|
-
|
|
13415
|
-
|
|
13416
|
-
"
|
|
13417
|
-
|
|
13418
|
-
|
|
13419
|
-
|
|
13420
|
-
|
|
13421
|
-
|
|
13422
|
-
|
|
13423
|
-
|
|
13424
|
-
|
|
13425
|
-
|
|
13426
|
-
|
|
13427
|
-
|
|
13412
|
+
} else {
|
|
13413
|
+
c.set("configId", headers["data"]["x-llmops-config"]);
|
|
13414
|
+
c.set("envSec", headers["data"]["x-llmops-environment"]);
|
|
13415
|
+
await (0, hono_cors.cors)({
|
|
13416
|
+
origin: "*",
|
|
13417
|
+
allowMethods: [
|
|
13418
|
+
"GET",
|
|
13419
|
+
"POST",
|
|
13420
|
+
"PUT",
|
|
13421
|
+
"DELETE",
|
|
13422
|
+
"OPTIONS"
|
|
13423
|
+
],
|
|
13424
|
+
allowHeaders: [
|
|
13425
|
+
"Content-Type",
|
|
13426
|
+
"Authorization",
|
|
13427
|
+
"x-llmops-config",
|
|
13428
|
+
"x-llmops-environment"
|
|
13429
|
+
]
|
|
13430
|
+
})(c, next);
|
|
13431
|
+
}
|
|
13428
13432
|
else
|
|
13429
13433
|
/**
|
|
13430
13434
|
* @todo Refactor this to give OpenAI specific response.
|
package/dist/index.mjs
CHANGED
|
@@ -13383,22 +13383,26 @@ const createRequestGuardMiddleware = () => {
|
|
|
13383
13383
|
c.set("configId", headers["data"]["x-llmops-config"]);
|
|
13384
13384
|
c.set("envSec", headers["data"]["x-llmops-environment"]);
|
|
13385
13385
|
await next();
|
|
13386
|
-
} else
|
|
13387
|
-
|
|
13388
|
-
|
|
13389
|
-
|
|
13390
|
-
"
|
|
13391
|
-
|
|
13392
|
-
|
|
13393
|
-
|
|
13394
|
-
|
|
13395
|
-
|
|
13396
|
-
|
|
13397
|
-
|
|
13398
|
-
|
|
13399
|
-
|
|
13400
|
-
|
|
13401
|
-
|
|
13386
|
+
} else {
|
|
13387
|
+
c.set("configId", headers["data"]["x-llmops-config"]);
|
|
13388
|
+
c.set("envSec", headers["data"]["x-llmops-environment"]);
|
|
13389
|
+
await cors({
|
|
13390
|
+
origin: "*",
|
|
13391
|
+
allowMethods: [
|
|
13392
|
+
"GET",
|
|
13393
|
+
"POST",
|
|
13394
|
+
"PUT",
|
|
13395
|
+
"DELETE",
|
|
13396
|
+
"OPTIONS"
|
|
13397
|
+
],
|
|
13398
|
+
allowHeaders: [
|
|
13399
|
+
"Content-Type",
|
|
13400
|
+
"Authorization",
|
|
13401
|
+
"x-llmops-config",
|
|
13402
|
+
"x-llmops-environment"
|
|
13403
|
+
]
|
|
13404
|
+
})(c, next);
|
|
13405
|
+
}
|
|
13402
13406
|
else
|
|
13403
13407
|
/**
|
|
13404
13408
|
* @todo Refactor this to give OpenAI specific response.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@llmops/app",
|
|
3
|
-
"version": "0.1.2
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "LLMOps application with server and client",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"motion": "^12.23.25",
|
|
65
65
|
"react-aria-components": "^1.13.0",
|
|
66
66
|
"react-hook-form": "^7.68.0",
|
|
67
|
-
"@llmops/core": "^0.1.2
|
|
68
|
-
"@llmops/gateway": "^0.1.2
|
|
67
|
+
"@llmops/core": "^0.1.2",
|
|
68
|
+
"@llmops/gateway": "^0.1.2"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"react": "^19.2.1",
|