remoteServerCapabilities (types/remoteServer.ts)

OGAM · src/types/remoteServer.ts · typescript · MIT
ai

* Remote LLM Server Types Types for managing remote LLM servers (Ollama, LM Studio, etc.) that expose OpenAI-compatible or Anthropic-compatible APIs. / * Provider types supported by the system */

// 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.
/**
 * Remote LLM Server Types
 *
 * Types for managing remote LLM servers (Ollama, LM Studio, etc.)
 * that expose OpenAI-compatible or Anthropic-compatible APIs.
 */

/** Provider types supported by the system */
type RemoteProviderType = 'openai-compatible' | 'anthropic';

/** Optional OpenAI-compatible media models served by this endpoint. */
export interface RemoteMediaModelIds {
  text?: string;
  image?: string;
  transcription?: string;
  voice?: string;
}

export type RemoteModelCategory = keyof RemoteMediaModelIds;

/** One user-selectable model reported by the remote server. */
export interface RemoteModelOption 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key