@zhivex-ai/gateway 0.4.0 → 0.4.1
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/runtime-state.d.ts +1 -1
- package/package.json +2 -2
package/dist/runtime-state.d.ts
CHANGED
|
@@ -14,12 +14,12 @@ export declare const getGatewayTargetHealthScore: (state: GatewayTargetRuntimeSt
|
|
|
14
14
|
export declare const refreshGatewayTargetRuntimeState: (state: GatewayTargetRuntimeState | undefined, now: number) => GatewayTargetRuntimeState | undefined;
|
|
15
15
|
export declare const createGatewayRuntimeState: (target: GatewayModelTarget, overrides?: Partial<GatewayTargetRuntimeState>, now?: number) => GatewayTargetRuntimeState;
|
|
16
16
|
export declare const incrementErrorClass: (errorCounts: Partial<Record<GatewayErrorClass, number>>, errorClass: GatewayErrorClass) => {
|
|
17
|
-
unknown?: number | undefined;
|
|
18
17
|
timeout?: number | undefined;
|
|
19
18
|
"rate-limit"?: number | undefined;
|
|
20
19
|
connectivity?: number | undefined;
|
|
21
20
|
provider?: number | undefined;
|
|
22
21
|
validation?: number | undefined;
|
|
22
|
+
unknown?: number | undefined;
|
|
23
23
|
};
|
|
24
24
|
export declare const updateRuntimeLatency: (state: GatewayTargetRuntimeState, latencyMs: number, options: Pick<Required<InMemoryGatewayRuntimeStoreOptions>, "ewmaAlpha" | "latencySampleSize">) => {
|
|
25
25
|
lastLatencyMs: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhivex-ai/gateway",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Routing and fallback helpers for Zhivex AI SDK.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -41,6 +41,6 @@
|
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@zhivex-ai/core": "^0.
|
|
44
|
+
"@zhivex-ai/core": "^0.6.0"
|
|
45
45
|
}
|
|
46
46
|
}
|