@llmops/core 1.0.0-beta.15 → 1.0.0-beta.16
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 +1 -0
- package/dist/index.d.cts +5 -0
- package/dist/index.d.mts +5 -0
- package/dist/index.mjs +1 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -4612,6 +4612,7 @@ const providersConfigSchema = array(inlineProviderConfigSchema).optional();
|
|
|
4612
4612
|
*/
|
|
4613
4613
|
const llmopsConfigBaseSchema = object({
|
|
4614
4614
|
telemetry: any().optional(),
|
|
4615
|
+
waitUntil: any().optional(),
|
|
4615
4616
|
basePath: string().min(1, "Base path cannot be empty").refine((path) => path.startsWith("/"), "Base path must start with a forward slash").default("/llmops"),
|
|
4616
4617
|
providers: providersConfigSchema
|
|
4617
4618
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -480,6 +480,7 @@ declare const DEFAULT_PROVIDER_ENV_VARS: string[];
|
|
|
480
480
|
//#region src/schemas/config.d.ts
|
|
481
481
|
declare const llmopsConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
482
482
|
telemetry: z.ZodOptional<z.ZodAny>;
|
|
483
|
+
waitUntil: z.ZodOptional<z.ZodAny>;
|
|
483
484
|
basePath: z.ZodDefault<z.ZodString>;
|
|
484
485
|
providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
485
486
|
provider: z.ZodString;
|
|
@@ -493,9 +494,11 @@ declare const llmopsConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
493
494
|
providers: InlineProviderConfig[];
|
|
494
495
|
basePath: string;
|
|
495
496
|
telemetry?: any;
|
|
497
|
+
waitUntil?: any;
|
|
496
498
|
}, {
|
|
497
499
|
basePath: string;
|
|
498
500
|
telemetry?: any;
|
|
501
|
+
waitUntil?: any;
|
|
499
502
|
providers?: {
|
|
500
503
|
[x: string]: unknown;
|
|
501
504
|
provider: string;
|
|
@@ -516,6 +519,7 @@ type ValidatedLLMOpsConfig = {
|
|
|
516
519
|
telemetry?: unknown;
|
|
517
520
|
basePath: string;
|
|
518
521
|
providers?: InlineProvidersConfig;
|
|
522
|
+
waitUntil?: (promise: Promise<unknown>) => void;
|
|
519
523
|
};
|
|
520
524
|
/**
|
|
521
525
|
* Input type for LLMOps configuration (before validation)
|
|
@@ -524,6 +528,7 @@ type LLMOpsConfigInput = {
|
|
|
524
528
|
telemetry?: unknown;
|
|
525
529
|
basePath?: string;
|
|
526
530
|
providers?: InlineProvidersConfig;
|
|
531
|
+
waitUntil?: (promise: Promise<unknown>) => void;
|
|
527
532
|
};
|
|
528
533
|
declare function validateLLMOpsConfig(config?: unknown): ValidatedLLMOpsConfig;
|
|
529
534
|
//#endregion
|
package/dist/index.d.mts
CHANGED
|
@@ -480,6 +480,7 @@ declare const DEFAULT_PROVIDER_ENV_VARS: string[];
|
|
|
480
480
|
//#region src/schemas/config.d.ts
|
|
481
481
|
declare const llmopsConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
482
482
|
telemetry: z.ZodOptional<z.ZodAny>;
|
|
483
|
+
waitUntil: z.ZodOptional<z.ZodAny>;
|
|
483
484
|
basePath: z.ZodDefault<z.ZodString>;
|
|
484
485
|
providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
485
486
|
provider: z.ZodString;
|
|
@@ -493,9 +494,11 @@ declare const llmopsConfigSchema: z.ZodPipe<z.ZodObject<{
|
|
|
493
494
|
providers: InlineProviderConfig[];
|
|
494
495
|
basePath: string;
|
|
495
496
|
telemetry?: any;
|
|
497
|
+
waitUntil?: any;
|
|
496
498
|
}, {
|
|
497
499
|
basePath: string;
|
|
498
500
|
telemetry?: any;
|
|
501
|
+
waitUntil?: any;
|
|
499
502
|
providers?: {
|
|
500
503
|
[x: string]: unknown;
|
|
501
504
|
provider: string;
|
|
@@ -516,6 +519,7 @@ type ValidatedLLMOpsConfig = {
|
|
|
516
519
|
telemetry?: unknown;
|
|
517
520
|
basePath: string;
|
|
518
521
|
providers?: InlineProvidersConfig;
|
|
522
|
+
waitUntil?: (promise: Promise<unknown>) => void;
|
|
519
523
|
};
|
|
520
524
|
/**
|
|
521
525
|
* Input type for LLMOps configuration (before validation)
|
|
@@ -524,6 +528,7 @@ type LLMOpsConfigInput = {
|
|
|
524
528
|
telemetry?: unknown;
|
|
525
529
|
basePath?: string;
|
|
526
530
|
providers?: InlineProvidersConfig;
|
|
531
|
+
waitUntil?: (promise: Promise<unknown>) => void;
|
|
527
532
|
};
|
|
528
533
|
declare function validateLLMOpsConfig(config?: unknown): ValidatedLLMOpsConfig;
|
|
529
534
|
//#endregion
|
package/dist/index.mjs
CHANGED
|
@@ -4582,6 +4582,7 @@ const providersConfigSchema = array(inlineProviderConfigSchema).optional();
|
|
|
4582
4582
|
*/
|
|
4583
4583
|
const llmopsConfigBaseSchema = object({
|
|
4584
4584
|
telemetry: any().optional(),
|
|
4585
|
+
waitUntil: any().optional(),
|
|
4585
4586
|
basePath: string().min(1, "Base path cannot be empty").refine((path$1) => path$1.startsWith("/"), "Base path must start with a forward slash").default("/llmops"),
|
|
4586
4587
|
providers: providersConfigSchema
|
|
4587
4588
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@llmops/core",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.16",
|
|
4
4
|
"description": "Core LLMOps functionality and utilities",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"hono": "^4.10.7",
|
|
41
41
|
"pino": "^10.1.0",
|
|
42
|
-
"@llmops/gateway": "^1.0.0-beta.
|
|
42
|
+
"@llmops/gateway": "^1.0.0-beta.16"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/ws": "^8.18.1"
|