scira-chat / lib /hf-client.ts
victor's picture
victor HF Staff
feat: Add Hugging Face model support
8cfdcec
raw
history blame
144 Bytes
import OpenAI from "openai";
export const hf = new OpenAI({
apiKey: process.env.HF_TOKEN,
baseURL: "https://router.huggingface.co/v1",
});