Helicone Community Page

C
K
m
H
E

Custom headers not showing up as columns Vercel AI SDK

I have the following:
Plain Text
 const result = await generateText({
      model: openai("gpt-4-turbo-2024-04-09"),
      headers: {
        Environment: process.env.NODE_ENV,
        "User-Prompt": args.userPrompt,
        "Block-Id": args.blockId,
...
}

Everything is working fine except for the fact that I can't find environment being logged, i just see the helicone env variables
Attachment
image.png
D
S
4 comments
Hi ! To use Custom Properties you need to define your header with Helicone-Property prefix like Helicone-Property-BlockId
Add a reply
Sign up and join the conversation on Discord
Join