We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 802e7dd commit 2954f14Copy full SHA for 2954f14
vllm/entrypoints/openai/protocol.py
@@ -1489,9 +1489,9 @@ class CompletionResponseChoice(OpenAIBaseModel):
1489
"to stop, None if the completion finished for some other reason "
1490
"including encountering the EOS token"),
1491
)
1492
- token_ids: Optional[list[int]] = None
+ token_ids: Optional[list[int]] = None # For response
1493
prompt_logprobs: Optional[list[Optional[dict[int, Logprob]]]] = None
1494
- prompt_token_ids: Optional[list[int]] = None
+ prompt_token_ids: Optional[list[int]] = None # For prompt
1495
1496
1497
class CompletionResponse(OpenAIBaseModel):
0 commit comments