Helicone Community Page

Home
Members
MaTriXy
M
MaTriXy
Offline, last seen 3 months ago
Joined November 6, 2024
Hi,
I'm using Python,
Did anyone work with Together client with base url?
it seems to not show up on my dashboard at all.
but i get the results back from the model.

Plain Text
 together_client = Together(
    api_key=together_api_key,
    # base_url="https://together.helicone.ai/v1",
    # default_headers={
    #     "Helicone-Auth": f"Bearer {helicone_api_key}",
    # },
)

i switched to the Together client as it didn't work but tried to use this code :
Plain Text
client = OpenAI(
  api_key="your-api-key-here",  # Replace with your OpenAI API key
  base_url="https://together.helicone.ai/v1"
  default_headers= {  # Optionally set default headers or set per request (see below)
    "Helicone-Auth": f"Bearer {HELICONE_API_KEY}",
  }
)
2 comments
K