-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[BugFix] Changed the minimax wrapper to accept **extra_kwargs #8866
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -300,6 +300,7 @@ async def _wrapped_chat_completion_stream_generator( | |
| tokenizer, | ||
| request_metadata: engine_protocol.RequestResponseMetadata, | ||
| reasoning_parser=None, | ||
| **extra_kwargs: Any, | ||
|
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. The fix applied to |
||
| ): | ||
| num_choices = 1 if request.n is None else request.n | ||
| state = _create_usage_tracking_state(num_choices, reasoning_parser) | ||
|
|
@@ -314,6 +315,7 @@ async def _wrapped_chat_completion_stream_generator( | |
| tokenizer, | ||
| request_metadata, | ||
| reasoning_parser, | ||
| **extra_kwargs, | ||
| ): | ||
| yield _inject_stream_usage_details(data, state) | ||
|
|
||
|
|
||
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.
The pull request title and summary do not adhere to the repository style guide. The title is missing the module prefix, and the summary sections for user-facing changes and testing are incomplete.
Suggested PR Title:
Suggested PR Summary:
References