Skip to content

Assistant: Support custom URLs for providers such as OpenAI #8007

@juliasilge

Description

@juliasilge

Originally posted by @cpilat97 in #7985:

Hello there! So far have had pretty good experience with the use of copilot in-line (that's what my company uses and we have accounts to). For use of the claude models, we have a custom url for openai that we use. So when i'm using ellmer::chat_openai() i supply a base_url and my api_key.

I have something similar with chattr in my .Rprofile to point to those.

I'm not sure of the level of support to do so, but as y'all explore additional models beyond anthropic, I just wanted to throw this out there as potential inclusion to point to specific urls. I don't know if how the chats are currently implemented would support this but would be a great additional feature.

Thanks for the continued work you put into this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions