/** * OpenAI client implementation. * * Uses the proto-generated REST API Integration Plugin type from @superblocksteam/types. * OpenAI integrations use the REST API Integration plugin under the hood. */ import { RestApiIntegrationClient } from "../base/index.js"; import type { OpenAIClient } from "./types.js"; /** * Internal implementation of OpenAIClient. * * Extends RestApiIntegrationClient to inherit the generic apiRequest() method. * This implementation communicates with the orchestrator to execute * OpenAI API calls. At runtime, the orchestrator handles authentication * and API request execution. */ export class OpenAIClientImpl extends RestApiIntegrationClient implements OpenAIClient { // Inherits: name, pluginId, config, executeQuery, createParam(), apiRequest() // Can add OpenAI-specific methods here in the future if needed }