Skip to content

[BUG] openai provider use custom base URL error #9426

@jackdov9

Description

@jackdov9

Problem (one or two sentences)

Using the OpenAI provider to request the OpenAI response with a custom base URL, when the URL suffix is added with "/v1", it errors:
Image

when it's not added, it also errors:
Image

It seems that it doesn't support the custom OpenAI response requests, or is there another way to achieve this purpose?

Context (who is affected and when)

when Using the OpenAI provider to request the OpenAI response with a custom base URL

Reproduction steps

None

Expected result

None

Actual result

None

Variations tried (optional)

No response

App Version

v3.33.2

API Provider (optional)

OpenAI

Model Used (optional)

No response

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions