Point the app at this origin
Gateway, not wrap. Keep the OpenAI SDK; set baseURL here. Prompts stay on this disk.
Origin
https://evals.dvarlabs.ai/v1Gateway key
dvar_evals_55e17eab300a199c0f5cfae0efc88236ce73Local auth for this suite — not OpenRouter or Dvar. Add those in Settings or the gateway returns 502. Set EVALS_PUBLIC_URL when this is not localhost.
Node
import OpenAI from "openai"; const client = new OpenAI({ apiKey: process.env.EVALS_GATEWAY_KEY, // dvar_evals_55e17eab300a199c0f5cfae0efc88236ce73 baseURL: "https://evals.dvarlabs.ai/v1", defaultHeaders: { "X-Dvar-Use-Case": "onboarding" }, // onboarding | servicing | rm-assist }); const r = await client.chat.completions.create({ model: "gpt-4o", // eco | balanced | pro | claude-sonnet | gemini-flash messages: [{ role: "user", content: "PAN mismatch on Aadhaar. Continue?" }], });