@ponythewhite/base-context 1.0.10 → 1.0.12
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/CHANGELOG.md +22 -0
- package/dist/base-context-runtime/pyproject.toml +1 -1
- package/dist/base-context-runtime/uv.lock +1 -1
- package/dist/build-info.json +1 -1
- package/dist/bundle/amazon-bedrock.js +3 -3
- package/dist/bundle/{anthropic-5PSCZEER.js → anthropic-BJVPUMPB.js} +2 -2
- package/dist/bundle/{azure-openai-responses-AYTLJR33.js → azure-openai-responses-ERRMAXK6.js} +4 -5
- package/dist/bundle/{bundled-modules-MX6YNAM2.js → bundled-modules-WCGPZI2H.js} +5 -5
- package/dist/bundle/{chunk-D3KOF57W.js → chunk-25VYRAC6.js} +14 -1
- package/dist/bundle/{chunk-2IPDSTDR.js → chunk-AEMRBMI2.js} +9 -9
- package/dist/bundle/{chunk-Q3MBSBEB.js → chunk-FOGKLC7V.js} +1 -1
- package/dist/bundle/{chunk-UHLGPYMI.js → chunk-IAKHCQA2.js} +185 -39
- package/dist/bundle/{chunk-KT2BNEPE.js → chunk-MUFZODP5.js} +1 -1
- package/dist/bundle/{chunk-QKIFBA7N.js → chunk-Q6UAHLII.js} +2 -2
- package/dist/bundle/{chunk-CDXQNS5P.js → chunk-YGV3Y4AD.js} +1009 -185
- package/dist/bundle/{cli-main-D7W3WWCV.js → cli-main-CTYDQHFE.js} +4 -4
- package/dist/bundle/cli.js +1 -1
- package/dist/bundle/{google-HTMCUJ7X.js → google-4GA4YMUX.js} +2 -2
- package/dist/bundle/{google-vertex-ZQO65AXF.js → google-vertex-7AMALD7D.js} +2 -2
- package/dist/bundle/{main-5J3QBZ5Y.js → main-GVGK354K.js} +5 -5
- package/dist/bundle/{mistral-SB7LU56G.js → mistral-74BXMNRM.js} +1 -1
- package/dist/bundle/{openai-codex-responses-5CEW4VN3.js → openai-codex-responses-COXNC4IH.js} +2 -2
- package/dist/bundle/{openai-completions-BAZJQSS2.js → openai-completions-BCSA5Q6S.js} +2 -2
- package/dist/bundle/{openai-responses-VHOE427P.js → openai-responses-ONCIZSJS.js} +3 -3
- package/dist/core/agent-session.d.ts +6 -1
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +445 -146
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/canonical-context.d.ts +19 -3
- package/dist/core/canonical-context.d.ts.map +1 -1
- package/dist/core/canonical-context.js +130 -9
- package/dist/core/canonical-context.js.map +1 -1
- package/dist/core/compaction/compaction.d.ts +9 -1
- package/dist/core/compaction/compaction.d.ts.map +1 -1
- package/dist/core/compaction/compaction.js +29 -3
- package/dist/core/compaction/compaction.js.map +1 -1
- package/dist/core/context-epoch-copy.d.ts +1 -1
- package/dist/core/context-epoch-copy.d.ts.map +1 -1
- package/dist/core/context-epoch-copy.js +18 -7
- package/dist/core/context-epoch-copy.js.map +1 -1
- package/dist/core/context-epoch.d.ts +4 -0
- package/dist/core/context-epoch.d.ts.map +1 -1
- package/dist/core/context-epoch.js +8 -1
- package/dist/core/context-epoch.js.map +1 -1
- package/dist/core/context-tree.d.ts +14 -11
- package/dist/core/context-tree.d.ts.map +1 -1
- package/dist/core/context-tree.js +145 -9
- package/dist/core/context-tree.js.map +1 -1
- package/dist/core/history-index-worker.d.ts.map +1 -1
- package/dist/core/history-index-worker.js +59 -6
- package/dist/core/history-index-worker.js.map +1 -1
- package/dist/core/history-index.d.ts +17 -0
- package/dist/core/history-index.d.ts.map +1 -1
- package/dist/core/history-index.js +22 -0
- package/dist/core/history-index.js.map +1 -1
- package/dist/core/inference-coordinator.d.ts +1 -1
- package/dist/core/inference-coordinator.d.ts.map +1 -1
- package/dist/core/inference-coordinator.js +23 -6
- package/dist/core/inference-coordinator.js.map +1 -1
- package/dist/core/messages.d.ts +2 -0
- package/dist/core/messages.d.ts.map +1 -1
- package/dist/core/messages.js +2 -0
- package/dist/core/messages.js.map +1 -1
- package/dist/core/refinement/refinement.d.ts +2 -0
- package/dist/core/refinement/refinement.d.ts.map +1 -1
- package/dist/core/refinement/refinement.js +10 -1
- package/dist/core/refinement/refinement.js.map +1 -1
- package/dist/core/request-usage.d.ts +34 -0
- package/dist/core/request-usage.d.ts.map +1 -0
- package/dist/core/request-usage.js +111 -0
- package/dist/core/request-usage.js.map +1 -0
- package/dist/core/request-view-selection.d.ts +2 -1
- package/dist/core/request-view-selection.d.ts.map +1 -1
- package/dist/core/request-view-selection.js +29 -2
- package/dist/core/request-view-selection.js.map +1 -1
- package/dist/core/session-fork-messages.d.ts +5 -0
- package/dist/core/session-fork-messages.d.ts.map +1 -1
- package/dist/core/session-fork-messages.js +44 -0
- package/dist/core/session-fork-messages.js.map +1 -1
- package/dist/core/session-history-index.d.ts +5 -0
- package/dist/core/session-history-index.d.ts.map +1 -1
- package/dist/core/session-history-index.js +7 -0
- package/dist/core/session-history-index.js.map +1 -1
- package/dist/core/session-manager.d.ts +2 -0
- package/dist/core/session-manager.d.ts.map +1 -1
- package/dist/core/session-manager.js +155 -13
- package/dist/core/session-manager.js.map +1 -1
- package/dist/core/session-tree.d.ts +9 -0
- package/dist/core/session-tree.d.ts.map +1 -1
- package/dist/core/session-tree.js +71 -11
- package/dist/core/session-tree.js.map +1 -1
- package/dist/core/settings-manager.d.ts +3 -0
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +7 -0
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/core/system-prompt.d.ts +2 -0
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +4 -2
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/modes/agent-connection/daemon-agent-connection.d.ts.map +1 -1
- package/dist/modes/agent-connection/daemon-agent-connection.js +8 -1
- package/dist/modes/agent-connection/daemon-agent-connection.js.map +1 -1
- package/dist/modes/agent-connection/in-process-agent-connection.d.ts.map +1 -1
- package/dist/modes/agent-connection/in-process-agent-connection.js +4 -4
- package/dist/modes/agent-connection/in-process-agent-connection.js.map +1 -1
- package/dist/modes/daemon/daemon-mode.d.ts.map +1 -1
- package/dist/modes/daemon/daemon-mode.js +4 -4
- package/dist/modes/daemon/daemon-mode.js.map +1 -1
- package/dist/modes/daemon/daemon-protocol.d.ts +13 -3
- package/dist/modes/daemon/daemon-protocol.d.ts.map +1 -1
- package/dist/modes/daemon/daemon-protocol.js +10 -2
- package/dist/modes/daemon/daemon-protocol.js.map +1 -1
- package/dist/modes/daemon/daemon-session-summarizer.d.ts +3 -0
- package/dist/modes/daemon/daemon-session-summarizer.d.ts.map +1 -1
- package/dist/modes/daemon/daemon-session-summarizer.js +71 -32
- package/dist/modes/daemon/daemon-session-summarizer.js.map +1 -1
- package/dist/modes/interactive/components/context-tree-format.d.ts.map +1 -1
- package/dist/modes/interactive/components/context-tree-format.js +49 -0
- package/dist/modes/interactive/components/context-tree-format.js.map +1 -1
- package/docs/compaction.md +27 -3
- package/docs/context-management.md +17 -1
- package/docs/rlm.md +1 -1
- package/docs/settings.md +12 -0
- package/docs/usage.md +24 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.12] - 2026-09-21
|
|
4
|
+
|
|
5
|
+
- Fixed compaction and recovery for primary RLM child requests.
|
|
6
|
+
- Fixed usage forwarding when retained children resumed, preserved new child attribution across restarts, and prevented nested usage from being counted twice.
|
|
7
|
+
- Added receipt-based per-purpose and captured-family token totals to `/context`, with explicit unknown usage and catalog-cost labels.
|
|
8
|
+
- Reduced repeated dashboard requests with unchanged-input reuse and one-minute refresh coalescing.
|
|
9
|
+
- Kept refinement advice current without rewriting the system prefix, and added stable cache identities for auxiliary requests.
|
|
10
|
+
- Added earlier model-aware compaction targets with headroom for required context and an explicit `model-limit` opt-out.
|
|
11
|
+
- Fixed child run status after terminal provider errors or cancellation.
|
|
12
|
+
- Added guidance to page long output and batch nonurgent agent updates.
|
|
13
|
+
|
|
14
|
+
## [1.0.11] - 2026-09-20
|
|
15
|
+
|
|
16
|
+
- Fixed recovery compaction in long-running sessions that use `prime_context` without a request-budget profile.
|
|
17
|
+
- Fixed automatic recovery after reopening a session without a saved replay contract.
|
|
18
|
+
- Fixed recovery summaries after an over-budget request or a previous compaction while preserving native replay checks.
|
|
19
|
+
- Fixed opening large sessions from the session tree, listing sessions, and loading snapshots when a journal exceeds 64 MiB.
|
|
20
|
+
- Fixed optional replay-contract capture rejecting otherwise valid full-native requests with payload-hook metadata.
|
|
21
|
+
- Fixed `/tree`, `/context`, and the fork-message picker reading unrelated private request bodies from large session journals.
|
|
22
|
+
- Fixed refinement history loading failing on large unrelated session archives.
|
|
23
|
+
- Fixed small selected forks failing because unrelated history exceeded the source-read limit, while preserving required copy dependencies and output limits.
|
|
24
|
+
|
|
3
25
|
## [1.0.10] - 2026-09-19
|
|
4
26
|
|
|
5
27
|
- Fixed session attachment disconnecting during concurrent transcript updates.
|
package/dist/build-info.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { createRequire as __piBundleCreateRequire } from 'node:module'; const require = __piBundleCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
writeFileLogEntry
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-Q6UAHLII.js";
|
|
5
|
+
import "./chunk-AEMRBMI2.js";
|
|
6
6
|
import "./chunk-5QCJ5DQU.js";
|
|
7
7
|
import "./chunk-CRBVRZBV.js";
|
|
8
8
|
import "./chunk-GRJFXLBM.js";
|
|
9
9
|
import "./chunk-2T7M7VJ4.js";
|
|
10
10
|
import "./chunk-DGNX7HQ3.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-25VYRAC6.js";
|
|
12
12
|
import "./chunk-BAWSWWEU.js";
|
|
13
13
|
|
|
14
14
|
// dist/node/amazon-bedrock.js
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
streamFailureFromStopReason,
|
|
37
37
|
streamFailureMessage,
|
|
38
38
|
truncateRawPayload
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-25VYRAC6.js";
|
|
40
40
|
import "./chunk-BAWSWWEU.js";
|
|
41
41
|
|
|
42
42
|
// ../../node_modules/@anthropic-ai/sdk/internal/tslib.mjs
|
|
@@ -6595,7 +6595,7 @@ var streamAnthropic = (model, context, options) => {
|
|
|
6595
6595
|
client = created.client;
|
|
6596
6596
|
isOAuth = created.isOAuthToken;
|
|
6597
6597
|
}
|
|
6598
|
-
if (attempts.enabled) {
|
|
6598
|
+
if (attempts.enabled || options?.signal) {
|
|
6599
6599
|
client = client.withOptions({});
|
|
6600
6600
|
client.fetchWithTimeout = attempts.wrapHttp(client.fetchWithTimeout.bind(client));
|
|
6601
6601
|
}
|
package/dist/bundle/{azure-openai-responses-AYTLJR33.js → azure-openai-responses-ERRMAXK6.js}
RENAMED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
convertResponsesMessages,
|
|
4
4
|
convertResponsesTools,
|
|
5
5
|
processResponsesStream
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MUFZODP5.js";
|
|
7
7
|
import "./chunk-NQB5DCFC.js";
|
|
8
8
|
import {
|
|
9
9
|
AzureOpenAI
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
formatStreamFailureMessage,
|
|
26
26
|
recordStreamFailure,
|
|
27
27
|
streamFailureFromStopReason
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-25VYRAC6.js";
|
|
29
29
|
import "./chunk-BAWSWWEU.js";
|
|
30
30
|
|
|
31
31
|
// ../ai/src/providers/azure-openai-responses.ts
|
|
@@ -74,9 +74,8 @@ var streamAzureOpenAIResponses = (model, context, options) => {
|
|
|
74
74
|
};
|
|
75
75
|
try {
|
|
76
76
|
const apiKey = options?.apiKey || getEnvApiKey(model.provider) || "";
|
|
77
|
-
|
|
78
|
-
if (attempts.enabled) {
|
|
79
|
-
client = client.withOptions({});
|
|
77
|
+
const client = createClient(model, apiKey, options);
|
|
78
|
+
if (attempts.enabled || options?.signal) {
|
|
80
79
|
client.fetchWithTimeout = attempts.wrapHttp(client.fetchWithTimeout.bind(client));
|
|
81
80
|
}
|
|
82
81
|
let params = buildParams(model, context, options, deploymentName);
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
oauth_exports,
|
|
52
52
|
runPrintMode,
|
|
53
53
|
runRpcMode
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-IAKHCQA2.js";
|
|
55
55
|
import {
|
|
56
56
|
AgentSession,
|
|
57
57
|
CURRENT_SESSION_VERSION,
|
|
@@ -143,15 +143,15 @@ import {
|
|
|
143
143
|
withFileMutationQueue,
|
|
144
144
|
wrapRegisteredTool,
|
|
145
145
|
wrapRegisteredTools
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-YGV3Y4AD.js";
|
|
147
147
|
import "./chunk-CFNASUYO.js";
|
|
148
|
-
import "./chunk-
|
|
148
|
+
import "./chunk-Q6UAHLII.js";
|
|
149
149
|
import {
|
|
150
150
|
VERSION,
|
|
151
151
|
build_exports,
|
|
152
152
|
getAgentDir,
|
|
153
153
|
src_exports
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-AEMRBMI2.js";
|
|
155
155
|
import "./chunk-5QCJ5DQU.js";
|
|
156
156
|
import {
|
|
157
157
|
compile_exports,
|
|
@@ -162,7 +162,7 @@ import "./chunk-2T7M7VJ4.js";
|
|
|
162
162
|
import "./chunk-UIRUOAIQ.js";
|
|
163
163
|
import "./chunk-HXOBFFJX.js";
|
|
164
164
|
import "./chunk-DGNX7HQ3.js";
|
|
165
|
-
import "./chunk-
|
|
165
|
+
import "./chunk-25VYRAC6.js";
|
|
166
166
|
import {
|
|
167
167
|
__export
|
|
168
168
|
} from "./chunk-BAWSWWEU.js";
|
|
@@ -21668,8 +21668,18 @@ var ProviderAttemptTracker = class {
|
|
|
21668
21668
|
}
|
|
21669
21669
|
/** Wrap an SDK's single-send method, below its retry loop. */
|
|
21670
21670
|
wrapHttp(send, operation) {
|
|
21671
|
-
if (!this.enabled) return send;
|
|
21672
21671
|
return async (...args) => {
|
|
21672
|
+
const requestInit = args[1];
|
|
21673
|
+
let signal;
|
|
21674
|
+
if (requestInit?.signal) {
|
|
21675
|
+
this.httpLifetime ??= new AbortController();
|
|
21676
|
+
signal = AbortSignal.any([requestInit.signal, this.httpLifetime.signal]);
|
|
21677
|
+
}
|
|
21678
|
+
if (signal) args[1] = { ...requestInit, signal };
|
|
21679
|
+
if (!this.enabled) {
|
|
21680
|
+
signal?.throwIfAborted();
|
|
21681
|
+
return send(...args);
|
|
21682
|
+
}
|
|
21673
21683
|
if (operation === "input-count") this.options?.signal?.throwIfAborted();
|
|
21674
21684
|
if (this.hasRequestBudget && operation !== "input-count") {
|
|
21675
21685
|
const target = args[0];
|
|
@@ -21682,6 +21692,7 @@ var ProviderAttemptTracker = class {
|
|
|
21682
21692
|
await this.begin("http", operation === "input-count" ? { kind: "input-count" } : {});
|
|
21683
21693
|
let response;
|
|
21684
21694
|
try {
|
|
21695
|
+
signal?.throwIfAborted();
|
|
21685
21696
|
if (operation === "input-count") this.options?.signal?.throwIfAborted();
|
|
21686
21697
|
this.sent();
|
|
21687
21698
|
response = await send(...args);
|
|
@@ -21752,6 +21763,8 @@ var ProviderAttemptTracker = class {
|
|
|
21752
21763
|
} catch (error) {
|
|
21753
21764
|
output.stopReason = "error";
|
|
21754
21765
|
output.errorMessage = `Attempt settlement failed: ${error instanceof Error ? error.message : String(error)}`;
|
|
21766
|
+
} finally {
|
|
21767
|
+
this.httpLifetime?.abort();
|
|
21755
21768
|
}
|
|
21756
21769
|
if (output.stopReason === "error" || output.stopReason === "aborted") {
|
|
21757
21770
|
stream.push({ type: "error", reason: output.stopReason, error: output });
|
|
@@ -337,7 +337,7 @@ import {
|
|
|
337
337
|
supportsFastMode,
|
|
338
338
|
truncateRawPayload,
|
|
339
339
|
withRequestBody
|
|
340
|
-
} from "./chunk-
|
|
340
|
+
} from "./chunk-25VYRAC6.js";
|
|
341
341
|
import {
|
|
342
342
|
__export
|
|
343
343
|
} from "./chunk-BAWSWWEU.js";
|
|
@@ -1948,7 +1948,7 @@ function createLazySimpleStream(loadModule) {
|
|
|
1948
1948
|
};
|
|
1949
1949
|
}
|
|
1950
1950
|
function loadAnthropicProviderModule() {
|
|
1951
|
-
anthropicProviderModulePromise ||= import("./anthropic-
|
|
1951
|
+
anthropicProviderModulePromise ||= import("./anthropic-BJVPUMPB.js").then((module) => {
|
|
1952
1952
|
const provider = module;
|
|
1953
1953
|
return {
|
|
1954
1954
|
stream: provider.streamAnthropic,
|
|
@@ -1958,7 +1958,7 @@ function loadAnthropicProviderModule() {
|
|
|
1958
1958
|
return anthropicProviderModulePromise;
|
|
1959
1959
|
}
|
|
1960
1960
|
function loadAzureOpenAIResponsesProviderModule() {
|
|
1961
|
-
azureOpenAIResponsesProviderModulePromise ||= import("./azure-openai-responses-
|
|
1961
|
+
azureOpenAIResponsesProviderModulePromise ||= import("./azure-openai-responses-ERRMAXK6.js").then((module) => {
|
|
1962
1962
|
const provider = module;
|
|
1963
1963
|
return {
|
|
1964
1964
|
stream: provider.streamAzureOpenAIResponses,
|
|
@@ -1968,7 +1968,7 @@ function loadAzureOpenAIResponsesProviderModule() {
|
|
|
1968
1968
|
return azureOpenAIResponsesProviderModulePromise;
|
|
1969
1969
|
}
|
|
1970
1970
|
function loadGoogleProviderModule() {
|
|
1971
|
-
googleProviderModulePromise ||= import("./google-
|
|
1971
|
+
googleProviderModulePromise ||= import("./google-4GA4YMUX.js").then((module) => {
|
|
1972
1972
|
const provider = module;
|
|
1973
1973
|
return {
|
|
1974
1974
|
stream: provider.streamGoogle,
|
|
@@ -1978,7 +1978,7 @@ function loadGoogleProviderModule() {
|
|
|
1978
1978
|
return googleProviderModulePromise;
|
|
1979
1979
|
}
|
|
1980
1980
|
function loadGoogleVertexProviderModule() {
|
|
1981
|
-
googleVertexProviderModulePromise ||= import("./google-vertex-
|
|
1981
|
+
googleVertexProviderModulePromise ||= import("./google-vertex-7AMALD7D.js").then((module) => {
|
|
1982
1982
|
const provider = module;
|
|
1983
1983
|
return {
|
|
1984
1984
|
stream: provider.streamGoogleVertex,
|
|
@@ -1988,7 +1988,7 @@ function loadGoogleVertexProviderModule() {
|
|
|
1988
1988
|
return googleVertexProviderModulePromise;
|
|
1989
1989
|
}
|
|
1990
1990
|
function loadMistralProviderModule() {
|
|
1991
|
-
mistralProviderModulePromise ||= import("./mistral-
|
|
1991
|
+
mistralProviderModulePromise ||= import("./mistral-74BXMNRM.js").then((module) => {
|
|
1992
1992
|
const provider = module;
|
|
1993
1993
|
return {
|
|
1994
1994
|
stream: provider.streamMistral,
|
|
@@ -1998,7 +1998,7 @@ function loadMistralProviderModule() {
|
|
|
1998
1998
|
return mistralProviderModulePromise;
|
|
1999
1999
|
}
|
|
2000
2000
|
function loadOpenAICodexResponsesProviderModule() {
|
|
2001
|
-
openAICodexResponsesProviderModulePromise ||= import("./openai-codex-responses-
|
|
2001
|
+
openAICodexResponsesProviderModulePromise ||= import("./openai-codex-responses-COXNC4IH.js").then((module) => {
|
|
2002
2002
|
const provider = module;
|
|
2003
2003
|
return {
|
|
2004
2004
|
stream: provider.streamOpenAICodexResponses,
|
|
@@ -2008,7 +2008,7 @@ function loadOpenAICodexResponsesProviderModule() {
|
|
|
2008
2008
|
return openAICodexResponsesProviderModulePromise;
|
|
2009
2009
|
}
|
|
2010
2010
|
function loadOpenAICompletionsProviderModule() {
|
|
2011
|
-
openAICompletionsProviderModulePromise ||= import("./openai-completions-
|
|
2011
|
+
openAICompletionsProviderModulePromise ||= import("./openai-completions-BCSA5Q6S.js").then((module) => {
|
|
2012
2012
|
const provider = module;
|
|
2013
2013
|
return {
|
|
2014
2014
|
stream: provider.streamOpenAICompletions,
|
|
@@ -2018,7 +2018,7 @@ function loadOpenAICompletionsProviderModule() {
|
|
|
2018
2018
|
return openAICompletionsProviderModulePromise;
|
|
2019
2019
|
}
|
|
2020
2020
|
function loadOpenAIResponsesProviderModule() {
|
|
2021
|
-
openAIResponsesProviderModulePromise ||= import("./openai-responses-
|
|
2021
|
+
openAIResponsesProviderModulePromise ||= import("./openai-responses-ONCIZSJS.js").then((module) => {
|
|
2022
2022
|
const provider = module;
|
|
2023
2023
|
return {
|
|
2024
2024
|
stream: provider.streamOpenAIResponses,
|