UNPKG

llmforge

Version:

One API, every AI model, instant switching. Change from GPT-4 to Gemini to local models with a single config update. LLMForge is the lightweight, TypeScript-first solution for multi-provider AI applications with zero vendor lock-in.

28 lines 933 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NonRetryableError = exports.RetryableError = exports.GeminiError = void 0; class GeminiError extends Error { constructor(message, code, status, details) { super(message); this.code = code; this.status = status; this.details = details; this.name = 'GeminiError'; } } exports.GeminiError = GeminiError; class RetryableError extends GeminiError { constructor(message, code, status, details) { super(message, code, status, details); this.name = 'RetryableError'; } } exports.RetryableError = RetryableError; class NonRetryableError extends GeminiError { constructor(message, code, status, details) { super(message, code, status, details); this.name = 'NonRetryableError'; } } exports.NonRetryableError = NonRetryableError; //# sourceMappingURL=index.js.map