/** * @license * Copyright 2025 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ import type { AiProviderPreviewRunFn, AiProviderRunFnRegistration } from "@workglow/ai"; import type { OpenAiModelConfig } from "./OpenAI_ModelSchema"; export { getClient, getModelName, loadOpenAISDK } from "./OpenAI_Client"; /** * Capability-set run-fn registrations for the OpenAI provider. Order is * significant only as a tiebreaker — the dispatcher prefers the smallest * `serves` set that is a superset of the task's `requires`, so the bare * `["text.generation"]` entry wins for a plain {@link TextGenerationTask} or * {@link AiChatTask} while the `["text.generation", "tool-use"]` entry wins * for {@link ToolCallingTask}. */ export declare const OPENAI_RUN_FNS: readonly AiProviderRunFnRegistration[]; export declare const OPENAI_PREVIEW_TASKS: Record>;