// Stands in for https://esm.town/v/std/openai: the same OpenAI client, // pointed at exe.dev's LLM gateway (https://exe.dev/docs/integrations-llm), // so there is no API key on the VM. import { OpenAI as RawOpenAI } from "npm:openai@7"; export class OpenAI extends RawOpenAI { constructor(options: ConstructorParameters[0] = {}) { super({ ...options, baseURL: "https://llm.int.exe.xyz/openai/v1", apiKey: "exe.dev-llm-gateway", // the gateway adds the real credentials }); } } export default OpenAI;