Open Yonom opened 3 weeks ago
Hey, I saw that there's an example missing for the Vercel AI SDK. Here's what I had to do to set helicone up
-import { openai } from "@ai-sdk/openai"; +import { createOpenAI } from "@ai-sdk/openai"; +const openai = createOpenAI({ + baseURL: "https://oai.hconeai.com/v1", + headers: { + "Helicone-Auth": "Bearer pk-helicone-xx", + }, +});
Let me know if this is interesting to add to the repo
What about using groq? The groq baseURL is needed.
baseURL
Hey, I saw that there's an example missing for the Vercel AI SDK. Here's what I had to do to set helicone up
Let me know if this is interesting to add to the repo