UNPKG

large-models-interface

Version:

A comprehensive, unified interface for all types of AI models - natural language, vision, audio, and video. Supports 51 providers with dynamic model discovery and multi-modal capabilities.

24 lines (18 loc) 666 B
/** * @file src/interfaces/shuttleai.js * @class ShuttleAI * @description Wrapper class for the ShuttleAI API. * @param {string} apiKey - The API key for the ShuttleAI API. */ const BaseInterface = require('./baseInterface.js'); const { shuttleaiApiKey } = require('../utils/loadApiKeysFromEnv.js'); const { getConfig, loadProviderConfig } = require('../utils/configManager.js'); const interfaceName = 'shuttleai'; loadProviderConfig(interfaceName); const config = getConfig(); class ShuttleAI extends BaseInterface { constructor(apiKey) { super(interfaceName, apiKey || shuttleaiApiKey, config[interfaceName].url); } } module.exports = ShuttleAI;