@workglow/openai 0.4.9 → 0.5.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/ai/OpenAiProvider.d.ts +0 -1
- package/dist/ai/OpenAiQueuedProvider.d.ts +0 -1
- package/dist/ai/common/OpenAI_CacheCheckpoint.d.ts +0 -1
- package/dist/ai/common/OpenAI_Capabilities.d.ts +0 -1
- package/dist/ai/common/OpenAI_CapabilitySets.d.ts +0 -1
- package/dist/ai/common/OpenAI_Client.d.ts +0 -1
- package/dist/ai/common/OpenAI_Constants.d.ts +0 -1
- package/dist/ai/common/OpenAI_CountTokens.browser.d.ts +0 -1
- package/dist/ai/common/OpenAI_CountTokens.d.ts +0 -1
- package/dist/ai/common/OpenAI_EffortPolicy.d.ts +0 -1
- package/dist/ai/common/OpenAI_ImageEdit.d.ts +0 -1
- package/dist/ai/common/OpenAI_ImageGenerate.d.ts +0 -1
- package/dist/ai/common/OpenAI_ImageValidation.d.ts +0 -1
- package/dist/ai/common/OpenAI_JobRunFns.browser.d.ts +0 -1
- package/dist/ai/common/OpenAI_JobRunFns.d.ts +0 -1
- package/dist/ai/common/OpenAI_ModelInfo.d.ts +0 -1
- package/dist/ai/common/OpenAI_ModelSchema.d.ts +0 -1
- package/dist/ai/common/OpenAI_ModelSearch.d.ts +0 -1
- package/dist/ai/common/OpenAI_Pricing.d.ts +0 -1
- package/dist/ai/common/OpenAI_ResponsesWarnings.d.ts +0 -1
- package/dist/ai/common/OpenAI_StructuredGeneration.d.ts +0 -1
- package/dist/ai/common/OpenAI_TextEmbedding.d.ts +0 -1
- package/dist/ai/common/OpenAI_TextGeneration.d.ts +0 -1
- package/dist/ai/common/OpenAI_TextRewriter.d.ts +0 -1
- package/dist/ai/common/OpenAI_TextSummary.d.ts +0 -1
- package/dist/ai/common/OpenAI_ToolCalling.d.ts +0 -1
- package/dist/ai/index.browser.d.ts +0 -1
- package/dist/ai/index.d.ts +0 -1
- package/dist/ai/registerOpenAi.d.ts +0 -1
- package/dist/ai/registerOpenAiInline.browser.d.ts +0 -1
- package/dist/ai/registerOpenAiInline.d.ts +0 -1
- package/dist/ai/registerOpenAiWorker.browser.d.ts +0 -1
- package/dist/ai/registerOpenAiWorker.d.ts +0 -1
- package/dist/ai/runtime.browser.d.ts +0 -1
- package/dist/ai/runtime.d.ts +0 -1
- package/dist/ai-runtime.browser.d.ts +0 -1
- package/dist/ai-runtime.browser.js +33 -36
- package/dist/ai-runtime.browser.js.map +5 -5
- package/dist/ai-runtime.d.ts +0 -1
- package/dist/ai-runtime.js +33 -36
- package/dist/ai-runtime.js.map +5 -5
- package/dist/ai.browser.d.ts +0 -1
- package/dist/ai.d.ts +0 -1
- package/dist/ai.js +32 -36
- package/dist/ai.js.map +3 -3
- package/dist/web-search/OpenAiWebSearchProvider.d.ts +35 -0
- package/dist/web-search.d.ts +8 -0
- package/dist/web-search.js +108 -0
- package/dist/web-search.js.map +11 -0
- package/package.json +25 -15
- package/dist/ai/OpenAiProvider.d.ts.map +0 -1
- package/dist/ai/OpenAiQueuedProvider.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_CacheCheckpoint.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_Capabilities.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_CapabilitySets.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_Client.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_Constants.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_CountTokens.browser.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_CountTokens.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_EffortPolicy.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_ImageEdit.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_ImageGenerate.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_ImageValidation.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_JobRunFns.browser.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_JobRunFns.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_ModelInfo.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_ModelSchema.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_ModelSearch.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_Pricing.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_ResponsesWarnings.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_StructuredGeneration.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_TextEmbedding.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_TextGeneration.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_TextRewriter.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_TextSummary.d.ts.map +0 -1
- package/dist/ai/common/OpenAI_ToolCalling.d.ts.map +0 -1
- package/dist/ai/index.browser.d.ts.map +0 -1
- package/dist/ai/index.d.ts.map +0 -1
- package/dist/ai/registerOpenAi.d.ts.map +0 -1
- package/dist/ai/registerOpenAiInline.browser.d.ts.map +0 -1
- package/dist/ai/registerOpenAiInline.d.ts.map +0 -1
- package/dist/ai/registerOpenAiWorker.browser.d.ts.map +0 -1
- package/dist/ai/registerOpenAiWorker.d.ts.map +0 -1
- package/dist/ai/runtime.browser.d.ts.map +0 -1
- package/dist/ai/runtime.d.ts.map +0 -1
- package/dist/ai-runtime.browser.d.ts.map +0 -1
- package/dist/ai-runtime.d.ts.map +0 -1
- package/dist/ai.browser.d.ts.map +0 -1
- package/dist/ai.d.ts.map +0 -1
|
@@ -45,4 +45,3 @@ export declare function mergeOpenAICheckpointPrefix(session: AiSessionContext |
|
|
|
45
45
|
* replaying the same prefix converge on the same key without coordination.
|
|
46
46
|
*/
|
|
47
47
|
export declare const OpenAI_CacheCheckpoint_Stream: AiProviderRunFn<CacheCheckpointTaskInput, CacheCheckpointTaskOutput, OpenAiModelConfig>;
|
|
48
|
-
//# sourceMappingURL=OpenAI_CacheCheckpoint.d.ts.map
|
|
@@ -28,4 +28,3 @@ export declare const OPENAI_MODEL_INFO: ["model.info"];
|
|
|
28
28
|
export declare const OPENAI_CACHE_CHECKPOINT: ["cache.checkpoint"];
|
|
29
29
|
/** Aggregated list — for `workerRunFnSpecs()` derivation. Order MUST match `OPENAI_RUN_FNS`. */
|
|
30
30
|
export declare const OPENAI_CAPABILITY_SETS: readonly [["text.generation"], ["text.generation", "tool-use"], ["text.generation", "json-mode"], ["text.rewriter"], ["text.summary"], ["text.embedding"], ["image.generation"], ["image.editing"], ["model.count-tokens"], ["model.search"], ["model.info"], ["cache.checkpoint"]];
|
|
31
|
-
//# sourceMappingURL=OpenAI_CapabilitySets.d.ts.map
|
|
@@ -71,4 +71,3 @@ export declare function resolvePromptCacheKey(model: OpenAiModelConfig | undefin
|
|
|
71
71
|
*/
|
|
72
72
|
export declare function finalizeResponsesRequest(model: OpenAiModelConfig | undefined, params: Record<string, unknown>): Record<string, unknown>;
|
|
73
73
|
export {};
|
|
74
|
-
//# sourceMappingURL=OpenAI_Client.d.ts.map
|
|
@@ -12,4 +12,3 @@ import type { OpenAiModelConfig } from "./OpenAI_ModelSchema";
|
|
|
12
12
|
export declare const OpenAI_CountTokens_Stream: AiProviderRunFn<CountTokensTaskInput, CountTokensTaskOutput, OpenAiModelConfig>;
|
|
13
13
|
/** Lightweight preview path used by `AiTask.executePreview()`. */
|
|
14
14
|
export declare const OpenAI_CountTokens_Preview: AiProviderPreviewRunFn<CountTokensTaskInput, CountTokensTaskOutput, OpenAiModelConfig>;
|
|
15
|
-
//# sourceMappingURL=OpenAI_CountTokens.browser.d.ts.map
|
|
@@ -12,4 +12,3 @@ import type { OpenAiModelConfig } from "./OpenAI_ModelSchema";
|
|
|
12
12
|
export declare const OpenAI_CountTokens_Stream: AiProviderRunFn<CountTokensTaskInput, CountTokensTaskOutput, OpenAiModelConfig>;
|
|
13
13
|
/** Lightweight preview path used by `AiTask.executePreview()`. */
|
|
14
14
|
export declare const OpenAI_CountTokens_Preview: AiProviderPreviewRunFn<CountTokensTaskInput, CountTokensTaskOutput, OpenAiModelConfig>;
|
|
15
|
-
//# sourceMappingURL=OpenAI_CountTokens.d.ts.map
|
|
@@ -11,4 +11,3 @@ import type { OpenAiModelConfig } from "./OpenAI_ModelSchema";
|
|
|
11
11
|
* events for each partial + final image, then finish.
|
|
12
12
|
*/
|
|
13
13
|
export declare const OpenAI_ImageEdit_Stream: AiProviderRunFn<ImageEditTaskInput, ImageEditTaskOutput, OpenAiModelConfig>;
|
|
14
|
-
//# sourceMappingURL=OpenAI_ImageEdit.d.ts.map
|
|
@@ -13,4 +13,3 @@ import type { OpenAiModelConfig } from "./OpenAI_ModelSchema";
|
|
|
13
13
|
* call and emits one snapshot before finish.
|
|
14
14
|
*/
|
|
15
15
|
export declare const OpenAI_ImageGenerate_Stream: AiProviderRunFn<ImageGenerateTaskInput, ImageGenerateTaskOutput, OpenAiModelConfig>;
|
|
16
|
-
//# sourceMappingURL=OpenAI_ImageGenerate.d.ts.map
|
|
@@ -13,4 +13,3 @@ export { getClient, getModelName, loadOpenAISDK } from "./OpenAI_Client";
|
|
|
13
13
|
*/
|
|
14
14
|
export declare const OPENAI_RUN_FNS: readonly AiProviderRunFnRegistration<any, any, OpenAiModelConfig>[];
|
|
15
15
|
export declare const OPENAI_PREVIEW_TASKS: Record<string, AiProviderPreviewRunFn<any, any, OpenAiModelConfig>>;
|
|
16
|
-
//# sourceMappingURL=OpenAI_JobRunFns.browser.d.ts.map
|
|
@@ -16,4 +16,3 @@ export { getClient, getModelName, loadOpenAISDK } from "./OpenAI_Client";
|
|
|
16
16
|
*/
|
|
17
17
|
export declare const OPENAI_RUN_FNS: readonly AiProviderRunFnRegistration<any, any, OpenAiModelConfig>[];
|
|
18
18
|
export declare const OPENAI_PREVIEW_TASKS: Record<string, AiProviderPreviewRunFn<any, any, OpenAiModelConfig>>;
|
|
19
|
-
//# sourceMappingURL=OpenAI_JobRunFns.d.ts.map
|
|
@@ -10,4 +10,3 @@ import type { AiProviderRunFn, ModelSearchTaskInput, ModelSearchTaskOutput } fro
|
|
|
10
10
|
* provided, falls back to a curated static list of well-known OpenAI models.
|
|
11
11
|
*/
|
|
12
12
|
export declare const OpenAI_ModelSearch_Stream: AiProviderRunFn<ModelSearchTaskInput, ModelSearchTaskOutput>;
|
|
13
|
-
//# sourceMappingURL=OpenAI_ModelSearch.d.ts.map
|
|
@@ -12,4 +12,3 @@ export declare const OPENAI_PRICING: Record<string, ModelPricing>;
|
|
|
12
12
|
* Resolve list pricing for an OpenAI model id.
|
|
13
13
|
*/
|
|
14
14
|
export declare function getOpenAiModelPricing(modelId: string | undefined): ModelPricing | undefined;
|
|
15
|
-
//# sourceMappingURL=OpenAI_Pricing.d.ts.map
|
|
@@ -7,4 +7,3 @@ export declare function warnPenaltyDroppedOnce(model: string, param: "frequencyP
|
|
|
7
7
|
export declare function warnStrictDowngradedOnce(model: string, reason: string): void;
|
|
8
8
|
/** @internal test helper — clear both dedupe sets. */
|
|
9
9
|
export declare function _resetOpenAIResponsesWarnings(): void;
|
|
10
|
-
//# sourceMappingURL=OpenAI_ResponsesWarnings.d.ts.map
|
|
@@ -14,4 +14,3 @@ export { isStrictCompatibleSchema };
|
|
|
14
14
|
* final object.
|
|
15
15
|
*/
|
|
16
16
|
export declare const OpenAI_StructuredGeneration_Stream: AiProviderRunFn<StructuredGenerationTaskInput, StructuredGenerationTaskOutput, OpenAiModelConfig>;
|
|
17
|
-
//# sourceMappingURL=OpenAI_StructuredGeneration.d.ts.map
|
|
@@ -11,4 +11,3 @@ import type { OpenAiModelConfig } from "./OpenAI_ModelSchema";
|
|
|
11
11
|
* (or array of vectors when `input.text` is an array).
|
|
12
12
|
*/
|
|
13
13
|
export declare const OpenAI_TextEmbedding_Stream: AiProviderRunFn<TextEmbeddingTaskInput, TextEmbeddingTaskOutput, OpenAiModelConfig>;
|
|
14
|
-
//# sourceMappingURL=OpenAI_TextEmbedding.d.ts.map
|
|
@@ -13,4 +13,3 @@ import type { OpenAiModelConfig } from "./OpenAI_ModelSchema";
|
|
|
13
13
|
* accumulates).
|
|
14
14
|
*/
|
|
15
15
|
export declare const OpenAI_TextGeneration_Stream: AiProviderRunFn<TextGenerationTaskInput, TextGenerationTaskOutput, OpenAiModelConfig>;
|
|
16
|
-
//# sourceMappingURL=OpenAI_TextGeneration.d.ts.map
|
|
@@ -11,4 +11,3 @@ import type { OpenAiModelConfig } from "./OpenAI_ModelSchema";
|
|
|
11
11
|
* is sent as the Responses `instructions` (system) channel.
|
|
12
12
|
*/
|
|
13
13
|
export declare const OpenAI_TextRewriter_Stream: AiProviderRunFn<TextRewriterTaskInput, TextRewriterTaskOutput, OpenAiModelConfig>;
|
|
14
|
-
//# sourceMappingURL=OpenAI_TextRewriter.d.ts.map
|
|
@@ -10,4 +10,3 @@ import type { OpenAiModelConfig } from "./OpenAI_ModelSchema";
|
|
|
10
10
|
* the `text` port and a final empty `finish` event.
|
|
11
11
|
*/
|
|
12
12
|
export declare const OpenAI_TextSummary_Stream: AiProviderRunFn<TextSummaryTaskInput, TextSummaryTaskOutput, OpenAiModelConfig>;
|
|
13
|
-
//# sourceMappingURL=OpenAI_TextSummary.d.ts.map
|
|
@@ -16,4 +16,3 @@ import type { OpenAiModelConfig } from "./OpenAI_ModelSchema";
|
|
|
16
16
|
* on fallback) so a hallucinated function name never reaches the consumer.
|
|
17
17
|
*/
|
|
18
18
|
export declare const OpenAI_ToolCalling_Stream: AiProviderRunFn<ToolCallingTaskInput, ToolCallingTaskOutput, OpenAiModelConfig>;
|
|
19
|
-
//# sourceMappingURL=OpenAI_ToolCalling.d.ts.map
|
package/dist/ai/index.d.ts
CHANGED
package/dist/ai/runtime.d.ts
CHANGED
|
@@ -489,39 +489,6 @@ var OpenAI_ModelInfo_Stream = async (input, model, signal, emit) => {
|
|
|
489
489
|
// src/ai/common/OpenAI_ModelSearch.ts
|
|
490
490
|
import { filterLabeledModelsByQuery } from "@workglow/ai/provider-utils";
|
|
491
491
|
import { stampEffortOptions } from "@workglow/ai/worker";
|
|
492
|
-
|
|
493
|
-
// src/ai/common/OpenAI_Pricing.ts
|
|
494
|
-
import { resolveModelPricingFromTable } from "@workglow/ai";
|
|
495
|
-
var OPENAI_PRICING = {
|
|
496
|
-
"gpt-5.6-sol": { currency: "USD", input: 5, output: 30, cached: 0.5 },
|
|
497
|
-
"gpt-5.6-terra": { currency: "USD", input: 2.5, output: 15, cached: 0.25 },
|
|
498
|
-
"gpt-5.6-luna": { currency: "USD", input: 0.2, output: 1.2, cached: 0.02 },
|
|
499
|
-
"gpt-5.5": { currency: "USD", input: 5, output: 30, cached: 2.5 },
|
|
500
|
-
"gpt-5.4-mini": { currency: "USD", input: 0.75, output: 4.5, cached: 0.075 },
|
|
501
|
-
"gpt-5.4-nano": { currency: "USD", input: 0.2, output: 1.25, cached: 0.02 },
|
|
502
|
-
"gpt-5.4": { currency: "USD", input: 2.5, output: 15, cached: 1.25 },
|
|
503
|
-
"gpt-5.2-mini": { currency: "USD", input: 0.15, output: 0.6, cached: 0.075 },
|
|
504
|
-
"gpt-5.2": { currency: "USD", input: 2.5, output: 10, cached: 1.25 },
|
|
505
|
-
"gpt-5-mini": { currency: "USD", input: 0.15, output: 0.6, cached: 0.075 },
|
|
506
|
-
"gpt-5-nano": { currency: "USD", input: 0.05, output: 0.2, cached: 0.025 },
|
|
507
|
-
"gpt-5": { currency: "USD", input: 2.5, output: 10, cached: 1.25 },
|
|
508
|
-
"gpt-4.5": { currency: "USD", input: 75, output: 150, cached: 37.5 },
|
|
509
|
-
"gpt-4.1": { currency: "USD", input: 2, output: 8, cached: 0.5 },
|
|
510
|
-
"gpt-4.1-mini": { currency: "USD", input: 0.4, output: 1.6, cached: 0.1 },
|
|
511
|
-
"gpt-4o": { currency: "USD", input: 2.5, output: 10, cached: 1.25 },
|
|
512
|
-
"gpt-4o-mini": { currency: "USD", input: 0.15, output: 0.6, cached: 0.075 },
|
|
513
|
-
"o3-mini": { currency: "USD", input: 1.1, output: 4.4, cached: 0.55 },
|
|
514
|
-
o3: { currency: "USD", input: 5, output: 20, cached: 2.5 },
|
|
515
|
-
o1: { currency: "USD", input: 15, output: 60, cached: 7.5 },
|
|
516
|
-
"o1-mini": { currency: "USD", input: 1.1, output: 4.4, cached: 0.55 },
|
|
517
|
-
"text-embedding-3-small": { currency: "USD", input: 0.02, output: 0 },
|
|
518
|
-
"text-embedding-3-large": { currency: "USD", input: 0.13, output: 0 }
|
|
519
|
-
};
|
|
520
|
-
function getOpenAiModelPricing(modelId) {
|
|
521
|
-
return resolveModelPricingFromTable(OPENAI_PRICING, modelId, ["openai/"]);
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
// src/ai/common/OpenAI_ModelSearch.ts
|
|
525
492
|
var OPENAI_FALLBACK = [
|
|
526
493
|
{ label: "gpt-image-2", value: "gpt-image-2" },
|
|
527
494
|
{ label: "dall-e-3", value: "dall-e-3" },
|
|
@@ -577,8 +544,7 @@ function mapModelList(models) {
|
|
|
577
544
|
description: "",
|
|
578
545
|
capabilities: imageEntry?.capabilities ?? [],
|
|
579
546
|
provider_config: { model_name: m.value },
|
|
580
|
-
metadata: {}
|
|
581
|
-
pricing: getOpenAiModelPricing(m.value)
|
|
547
|
+
metadata: {}
|
|
582
548
|
}, openaiEffortPolicy({ provider: OPENAI, provider_config: { model_name: m.value } })),
|
|
583
549
|
raw: m
|
|
584
550
|
};
|
|
@@ -952,6 +918,37 @@ function inferOpenAiCapabilities(model) {
|
|
|
952
918
|
return ["model.search", "model.info"];
|
|
953
919
|
}
|
|
954
920
|
|
|
921
|
+
// src/ai/common/OpenAI_Pricing.ts
|
|
922
|
+
import { resolveModelPricingFromTable } from "@workglow/ai";
|
|
923
|
+
var OPENAI_PRICING = {
|
|
924
|
+
"gpt-5.6-sol": { currency: "USD", input: 5, output: 30, cached: 0.5 },
|
|
925
|
+
"gpt-5.6-terra": { currency: "USD", input: 2.5, output: 15, cached: 0.25 },
|
|
926
|
+
"gpt-5.6-luna": { currency: "USD", input: 0.2, output: 1.2, cached: 0.02 },
|
|
927
|
+
"gpt-5.5": { currency: "USD", input: 5, output: 30, cached: 2.5 },
|
|
928
|
+
"gpt-5.4-mini": { currency: "USD", input: 0.75, output: 4.5, cached: 0.075 },
|
|
929
|
+
"gpt-5.4-nano": { currency: "USD", input: 0.2, output: 1.25, cached: 0.02 },
|
|
930
|
+
"gpt-5.4": { currency: "USD", input: 2.5, output: 15, cached: 1.25 },
|
|
931
|
+
"gpt-5.2-mini": { currency: "USD", input: 0.15, output: 0.6, cached: 0.075 },
|
|
932
|
+
"gpt-5.2": { currency: "USD", input: 2.5, output: 10, cached: 1.25 },
|
|
933
|
+
"gpt-5-mini": { currency: "USD", input: 0.15, output: 0.6, cached: 0.075 },
|
|
934
|
+
"gpt-5-nano": { currency: "USD", input: 0.05, output: 0.2, cached: 0.025 },
|
|
935
|
+
"gpt-5": { currency: "USD", input: 2.5, output: 10, cached: 1.25 },
|
|
936
|
+
"gpt-4.5": { currency: "USD", input: 75, output: 150, cached: 37.5 },
|
|
937
|
+
"gpt-4.1": { currency: "USD", input: 2, output: 8, cached: 0.5 },
|
|
938
|
+
"gpt-4.1-mini": { currency: "USD", input: 0.4, output: 1.6, cached: 0.1 },
|
|
939
|
+
"gpt-4o": { currency: "USD", input: 2.5, output: 10, cached: 1.25 },
|
|
940
|
+
"gpt-4o-mini": { currency: "USD", input: 0.15, output: 0.6, cached: 0.075 },
|
|
941
|
+
"o3-mini": { currency: "USD", input: 1.1, output: 4.4, cached: 0.55 },
|
|
942
|
+
o3: { currency: "USD", input: 5, output: 20, cached: 2.5 },
|
|
943
|
+
o1: { currency: "USD", input: 15, output: 60, cached: 7.5 },
|
|
944
|
+
"o1-mini": { currency: "USD", input: 1.1, output: 4.4, cached: 0.55 },
|
|
945
|
+
"text-embedding-3-small": { currency: "USD", input: 0.02, output: 0 },
|
|
946
|
+
"text-embedding-3-large": { currency: "USD", input: 0.13, output: 0 }
|
|
947
|
+
};
|
|
948
|
+
function getOpenAiModelPricing(modelId) {
|
|
949
|
+
return resolveModelPricingFromTable(OPENAI_PRICING, modelId, ["openai/"]);
|
|
950
|
+
}
|
|
951
|
+
|
|
955
952
|
// src/ai/OpenAiQueuedProvider.ts
|
|
956
953
|
class OpenAiQueuedProvider extends createCloudProviderClass(AiProvider, {
|
|
957
954
|
name: OPENAI,
|
|
@@ -1018,4 +1015,4 @@ export {
|
|
|
1018
1015
|
resolvePromptCacheKey
|
|
1019
1016
|
};
|
|
1020
1017
|
|
|
1021
|
-
//# debugId=
|
|
1018
|
+
//# debugId=3F1A36C2079C745564756E2164756E21
|