Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mount OpenAI under /openai/v1 #147

Merged
merged 1 commit into from
Jul 14, 2023
Merged

Mount OpenAI under /openai/v1 #147

merged 1 commit into from
Jul 14, 2023

Conversation

gerred
Copy link
Member

@gerred gerred commented Jul 14, 2023

Some libraries take OPENAI_BASE_URL literally, but others append "/v1" to the end. This change makes the OpenAI API compliant so it works with both.

@@ -1,31 +1,23 @@
# [llama-7B-4b]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to clean up this whole file since they're added dynamically now instead of being hard coded here

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 I'll completely remove it over in my add-config branch once I get it up to date with main.

@gerred gerred merged commit 82fb3e8 into main Jul 14, 2023
@gerred gerred deleted the fix-mount-point branch July 14, 2023 15:33
andrewrisse pushed a commit that referenced this pull request Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants