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.

22 lines 671 B
export class GeminiError extends Error { constructor(message, code, status, details) { super(message); this.code = code; this.status = status; this.details = details; this.name = 'GeminiError'; } } export class RetryableError extends GeminiError { constructor(message, code, status, details) { super(message, code, status, details); this.name = 'RetryableError'; } } export class NonRetryableError extends GeminiError { constructor(message, code, status, details) { super(message, code, status, details); this.name = 'NonRetryableError'; } } //# sourceMappingURL=index.js.map