Skip to content

Azure OpenAI Bug for not handling baseURL properly. #430

@usathyan

Description

@usathyan

Which API Provider are you using?

OpenAI Compatible

Which Model are you using?

gpt-4o

What happened?

The way the code handles Azure OpenAI in src/api/providers/openai.ts requires our endpoints to be azure.com. Can you remove this hardcoding?

This is not a feature request, to me, this looks like its a bug, since I am unable to use any Azure OpenAI models.

Steps to reproduce

1.Try changing the endpoint for OpenAI compatible to anything else except azure.com.
2.
3.

Relevant API REQUEST output

None

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions