helicone icon indicating copy to clipboard operation
helicone copied to clipboard

[Bug]: Unable to use Helicone with AzureOpenAI in local docker setup

Open gurunathg opened this issue 4 months ago • 3 comments

What happened?

Hi,

I'm using below code:

HELICONE_BASE_URL="http://localhost:8585/v1"
default_headers = {
        "Helicone-Auth": f"Bearer {HELICONE_API_KEY}",
        "Helicone-OpenAI-API-Base": AZURE_OPENAI_ENDPOINT,
        "api-key": AZURE_OPENAI_API_KEY,
    }
    default_query = {
        "api-version": AZURE_OPENAI_API_VERSION
    }
    openai_client = AsyncAzureOpenAI(
        api_version=AZURE_OPENAI_API_VERSION,
        base_url=HELICONE_BASE_URL,
        default_headers=default_headers,
        api_key=HELICONE_API_KEY,
    )

It returns below error:

openai.NotFoundError: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot POST /v1/GPT-4o/deployments/GPT-4o/chat/completions</pre>
</body>
</html>

There is no option to add Azure integration in the UI. So I'm not sure if it is expecting to have a model added before making the request.

Relevant log output


Twitter / LinkedIn details

No response

gurunathg avatar Aug 30 '25 15:08 gurunathg

thanks for your requests, the team is looking into this

devinat1 avatar Sep 02 '25 22:09 devinat1

Any updates? @devinat1

mve avatar Nov 08 '25 13:11 mve

@devinat1 was this resolved?

wojciechkapko avatar Nov 13 '25 11:11 wojciechkapko