@opengeni/sdk 0.36.0 → 0.36.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/core.js
CHANGED
package/dist/index.js
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -1386,6 +1386,9 @@ export type ModelCapabilitiesV1 = {
|
|
|
1386
1386
|
responsesWebSocket: ModelCapabilityStateV1;
|
|
1387
1387
|
realtimeAudio: ModelCapabilityStateV1;
|
|
1388
1388
|
};
|
|
1389
|
+
promptCaching?: (ModelCapabilityStateV1 & {
|
|
1390
|
+
mode: "implicit" | "automatic" | "none";
|
|
1391
|
+
}) | undefined;
|
|
1389
1392
|
latencyModes: Array<{
|
|
1390
1393
|
id: "standard" | "priority" | "fast";
|
|
1391
1394
|
upstream: ModelCapabilitySupportV1;
|
|
@@ -1433,6 +1436,7 @@ export type ClientModel = {
|
|
|
1433
1436
|
provider: string;
|
|
1434
1437
|
providerLabel: string;
|
|
1435
1438
|
api: "responses" | "chat";
|
|
1439
|
+
source?: "opengeni" | "codex" | "workspace_gateway" | undefined;
|
|
1436
1440
|
contextWindowTokens?: number | undefined;
|
|
1437
1441
|
schemaVersion?: 1 | undefined;
|
|
1438
1442
|
aliases?: string[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeni/sdk",
|
|
3
|
-
"version": "0.36.
|
|
3
|
+
"version": "0.36.1",
|
|
4
4
|
"description": "Framework-agnostic TypeScript SDK for the OpenGeni API: typed client, session lifecycle, SSE event streaming with reconnect + replay-by-sequence, and proxy re-streaming helpers.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
package/src/types.ts
CHANGED
|
@@ -1898,6 +1898,11 @@ export type ModelCapabilitiesV1 = {
|
|
|
1898
1898
|
responsesWebSocket: ModelCapabilityStateV1;
|
|
1899
1899
|
realtimeAudio: ModelCapabilityStateV1;
|
|
1900
1900
|
};
|
|
1901
|
+
promptCaching?:
|
|
1902
|
+
| (ModelCapabilityStateV1 & {
|
|
1903
|
+
mode: "implicit" | "automatic" | "none";
|
|
1904
|
+
})
|
|
1905
|
+
| undefined;
|
|
1901
1906
|
latencyModes: Array<{
|
|
1902
1907
|
id: "standard" | "priority" | "fast";
|
|
1903
1908
|
upstream: ModelCapabilitySupportV1;
|
|
@@ -1946,6 +1951,7 @@ export type ClientModel = {
|
|
|
1946
1951
|
provider: string;
|
|
1947
1952
|
providerLabel: string;
|
|
1948
1953
|
api: "responses" | "chat";
|
|
1954
|
+
source?: "opengeni" | "codex" | "workspace_gateway" | undefined;
|
|
1949
1955
|
contextWindowTokens?: number | undefined;
|
|
1950
1956
|
schemaVersion?: 1 | undefined;
|
|
1951
1957
|
aliases?: string[] | undefined;
|