Skip to content

Allow setting non-default OpenAI base URLs#70

Merged
jehna merged 1 commit intojehna:mainfrom
Manouchehri:allow-custom-urls-1
Oct 18, 2024
Merged

Allow setting non-default OpenAI base URLs#70
jehna merged 1 commit intojehna:mainfrom
Manouchehri:allow-custom-urls-1

Conversation

@Manouchehri
Copy link
Copy Markdown
Contributor

@Manouchehri Manouchehri commented Aug 29, 2024

This is needed for using things like Cloudflare AI Gateway, LiteLLM, etc.

Solves #68 for OpenAI

Comment thread src/commands/openai.ts Outdated
@TheOrdinaryWow
Copy link
Copy Markdown

Any update on this?

@jehna jehna force-pushed the allow-custom-urls-1 branch from 33dcad6 to 0c68c25 Compare October 18, 2024 18:08
@jehna jehna force-pushed the allow-custom-urls-1 branch from 0c68c25 to ea566f3 Compare October 18, 2024 18:09
@jehna jehna added enhancement New feature or request test-openai Run openai tests towards this PR labels Oct 18, 2024
@jehna
Copy link
Copy Markdown
Owner

jehna commented Oct 18, 2024

Ah, OpenAI tests fail because Github does not share secrets to pull requests from non-contributors. Verified that tests pass locally.

@jehna jehna merged commit ba1adb9 into jehna:main Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request test-openai Run openai tests towards this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants