Helicone Community Page

Home
Members
SpaceMonkey
S
SpaceMonkey
Offline, last seen 2 months ago
Joined August 29, 2024
Hi, is this example incomplete? Does it need a Helicone-Target-Url? Doesn't look like helicone_headers is used anywhere?
Plain Text
from langchain.chat_models import AzureChatOpenAI
helicone_headers = {
    "Helicone-Auth": f"Bearer {helicone_api_key}",
    "Helicone-Target-Url":
}
llm = ChatOpenAI(
    openai_api_key='<>',
    headers={
        "Helicone-Auth": f"Bearer {env.HELICONE_API_KEY}"
        "Helicone-Target-Url": "https://api.lemonfox.ai",
        "Helicone-Target-Provider": "LemonFox",
    },
    openai_api_base="https://gateway.hconeai.com/v1",
)
from https://docs.helicone.ai/getting-started/integration-method/gateway
1 comment
C
I'm getting a lot of 404's on the requests page in safari: Application error: a client-side exception has occurred (see the browser console for more information).
3 comments
J
S