Skip to content

Commit a2e375b

Browse files
committed
fix no logprob
1 parent f4b5d77 commit a2e375b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rllm/engine/rollout/openai_engine.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ async def chat_completion(self, messages: list[dict], **kwargs) -> ModelOutput:
8787
tool_calls=tool_calls,
8888
prompt_ids=[],
8989
completion_ids=[],
90+
logprobs=[],
9091
prompt_length=prompt_length,
9192
completion_length=completion_length,
9293
finish_reason=finish_reason,

0 commit comments

Comments
 (0)