Helicone Community Page

H
Hu
Offline, last seen 3 weeks ago
Joined December 18, 2024
Hey
I can do it for vercel ai sdk + groq with the following code:
Plain Text
createGroq({
    apiKey,
    baseURL: "https://groq.helicone.ai/openai/v1",
    headers: {
        "Helicone-Auth": `Bearer ${process.env.PLASMO_PUBLIC_HELICONE_API_KEY}`,
    },
});

so, my questions are:
  1. is it possible to do the similar thing for vercel ai sdk + gemini.
  2. if yes, then what's the baseURL for gemini?
thanks
6 comments
H
J