UNPKG

@nomyx/assistant

Version:

A powerful assistant library and cli for your AI projects. works with Vertex AI (Claude and Gemini)

25 lines (24 loc) 557 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.OpenAIConfig = void 0; class OpenAIConfig { constructor(config, logger) { this.apiKey = config.apiKey; this.model = config.model; this.type = config.type || 'openai'; this.logger = logger; } getApiKey() { return this.apiKey; } getModel() { return this.model; } getType() { return this.type; } getLogger() { return this.logger; } } exports.OpenAIConfig = OpenAIConfig;