This repository was archived by the owner on Sep 10, 2025. It is now read-only.
Repository navigation
Openai api models endpoint - #1000
Merged
Merged
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/torchchat/1000
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 7afe0a4 with merge base a3bf37d ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
vmpuri
force-pushed
the
openai_api_models_endpoint
branch
from
August 5, 2024 10:19
41ccc69 to
a83c682
Compare
byjlw
approved these changes
Aug 5, 2024
vmpuri
force-pushed
the
openai_api_patches
branch
2 times, most recently
from
August 5, 2024 21:49
6401f55 to
4e26b22
Compare
vmpuri
force-pushed
the
openai_api_models_endpoint
branch
from
August 5, 2024 21:53
a83c682 to
7afe0a4
Compare
vmpuri
marked this pull request as ready for review
August 5, 2024 22:35
vmpuri
added a commit
that referenced
this pull request
Aug 5, 2024
* Add warning comments referring to unimplemented functionality * JSON formatted response using OpenAI API types for server completion requests * Add models endpoint (#1000)
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implementation of the /models endpoint https://platform.openai.com/docs/api-reference/models
Start the server:
In another terminal:
Screen.Recording.2024-08-05.at.3.17.57.AM.mov