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 ce54905 commit fbff6fbCopy full SHA for fbff6fb
vllm/entrypoints/openai/protocol.py
@@ -1238,6 +1238,9 @@ class ChatCompletionLogProb(OpenAIBaseModel):
1238
1239
1240
class ChatCompletionLogProbsContent(ChatCompletionLogProb):
1241
+ # Workaround: redefine fields name cache so that it's not
1242
+ # shared with the super class.
1243
+ field_names: ClassVar[Optional[set[str]]] = None
1244
top_logprobs: list[ChatCompletionLogProb] = Field(default_factory=list)
1245
1246
0 commit comments