llm/index.ts

atomic-agent · src/llm/index.ts · typescript · MIT
ai

Re-exports the LLM client library, providing a single entry point for LLM interactions.

// Source: https://github.com/AtomicBot-ai/atomic-agent | License: MIT | Copyright 2026 Atomic Bot
// Provided via justclaw.it.com; keep this notice with the code.
export { LlamaServerClient, LlamaServerError } from "./llama-server-client.js";
export {
  OpenAiHttpError,
  humanizeOpenAiHttpError,
} from "./provider/openai/openai-http.js";
export type {
  CompletionRequest,
  CompletionResult,
  CompletionTiming,
  LlamaServerClientOptions,
  LlamaServerProps,
  StreamChunk,
} from "./llama-server-client.js";
export { checkLlamaServer } from "./llama-server-health.js";
export { llamaEndpointUrl } from "./llama-endpoint-url.js";
export {
  installTransportDeadlines,
  resetTransportDeadlines,
  transportDeadlinesFor,
  OPENAI_DEFAULT_REQUEST_TIMEOUT_MS,
  TRANSPORT_DEADLINE_MARGIN_MS,
} fro

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

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

Get a free API key