UNPKG

@stackmemoryai/stackmemory

Version:

Lossless, project-scoped memory for AI coding tools. Durable context across sessions with 56 MCP tools, FTS5 search, conductor orchestrator, loop/watch monitoring, snapshot capture, pre-flight overlap checks, Claude/Codex/OpenCode wrappers, Linear sync, a

33 lines (32 loc) 780 B
import { fileURLToPath as __fileURLToPath } from 'url'; import { dirname as __pathDirname } from 'path'; const __filename = __fileURLToPath(import.meta.url); const __dirname = __pathDirname(__filename); import { GPTAdapter } from "./provider-adapter.js"; class DeepInfraAdapter extends GPTAdapter { id = "deepinfra"; name = "DeepInfra"; version = "1.0.0"; extensions = {}; constructor(config) { super({ apiKey: config.apiKey, baseUrl: config.baseUrl || "https://api.deepinfra.com/v1/openai" }); } supportsExtension() { return false; } async listModels() { return [ "THUDM/glm-4-9b-chat", "meta-llama/Meta-Llama-3.1-8B-Instruct", "meta-llama/Meta-Llama-3.1-70B-Instruct" ]; } } export { DeepInfraAdapter };