{
  "name": "@llm-ports/adapter-openai",
  "version": "0.1.0-alpha.32",
  "description": "OpenAI SDK adapter for llm-ports. Implements LLMPort and EmbeddingsPort. baseURL support covers 10+ OpenAI-compatible providers (Azure, Groq, Together, Fireworks, DeepInfra, Perplexity, Cerebras, LiteLLM proxy).",
  "license": "MIT",
  "author": "Babak Abbaschian",
  "type": "module",
  "main": "./dist/index.cjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.cjs"
    }
  },
  "files": [
    "dist",
    "README.md"
  ],
  "dependencies": {
    "openai": "^4.73.0",
    "zod-to-json-schema": "^3.24.1",
    "@llm-ports/core": "0.1.0-alpha.32"
  },
  "peerDependencies": {
    "zod": ">=3.24.0 <5"
  },
  "devDependencies": {
    "tsup": "^8.3.0",
    "typescript": "^5.6.3",
    "vitest": "^2.1.4",
    "zod": "^3.25.76",
    "@llm-ports/adapter-contract-tests": "0.0.0"
  },
  "publishConfig": {
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/baabakk/llm-ports.git",
    "directory": "packages/adapter-openai"
  },
  "homepage": "https://github.com/baabakk/llm-ports/tree/main/packages/adapter-openai#readme",
  "bugs": {
    "url": "https://github.com/baabakk/llm-ports/issues"
  },
  "keywords": [
    "llm",
    "ai",
    "typescript",
    "openai",
    "openai-compatible",
    "gpt",
    "gpt-4",
    "gpt-4o",
    "gpt-5",
    "azure-openai",
    "groq",
    "together-ai",
    "fireworks",
    "deepinfra",
    "perplexity",
    "cerebras",
    "litellm",
    "ai-sdk",
    "generative-ai",
    "llm-ports",
    "llm-adapter",
    "llm-routing",
    "llm-fallback",
    "embeddings",
    "tool-use",
    "function-calling",
    "structured-output",
    "vision",
    "multi-provider",
    "cost-control",
    "reasoning-models"
  ],
  "engines": {
    "node": ">=18.0.0"
  },
  "scripts": {
    "build": "tsup",
    "dev": "tsup --watch",
    "test": "vitest run",
    "test:watch": "vitest",
    "typecheck": "tsc --noEmit",
    "clean": "rm -rf dist"
  }
}