* LLM Provider Types Core abstraction for all LLM providers (local and remote). All providers implement this unified interface for seamless switching. /
// Source: https://github.com/off-grid-ai/OGAM | License: MIT | Copyright 2026 Mohammed Ali Chherawalla
// Provided via justclaw.it.com; keep this notice with the code.
/**
* LLM Provider Types
*
* Core abstraction for all LLM providers (local and remote).
* All providers implement this unified interface for seamless switching.
*/
import { Message, GenerationMeta } from '../../types';
/** Provider types */
export type ProviderType = 'local' | 'openai-compatible' | 'anthropic';
/** Capabilities a provider may support */
export interface ProviderCapabilities {
/** Supports vision/image input */
supportsVision: boolean;
/** Supports function/tool calling */
supportsToolCalling: boolean;
/** Supports extended thinking/reasoning */
supportsThinking: boolean;
/**
* Wheth
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key