-
Notifications
You must be signed in to change notification settings - Fork 39
update CompletionMessage attributes in openai.proto #86
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -460,14 +460,6 @@ async def CreateCompletion(self, request): | |
| await self.openai_serving_chat.models.init_static_loras() | ||
| generator = await self.openai_serving_completion.create_completion( | ||
| completion_request, | ||
| Request( # this Request is purely dummy, it is changed to optional in vllm's recent pull https://github.com/vllm-project/vllm/pull/12503 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. does removing it work for vllm 0.8.3 too?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes. this was updated long time ago. |
||
| scope={ | ||
| "type": "http", | ||
| "method": "GET", | ||
| "path": "", | ||
| "headers": [], | ||
| } | ||
| ), | ||
| ) | ||
| if isinstance(generator, ErrorResponse): | ||
| if hasattr(generator, "error"): | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how multiple arguments are represented in proto?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it will all wrap as string arguments https://github.com/vllm-project/vllm/blob/main/vllm/entrypoints/openai/protocol.py#L1735-L1742