-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
[Bugfix] Multiple fixes to tool streaming with hermes and mistral #10979
Conversation
Signed-off-by: cedonley <[email protected]>
👋 Hi! Thank you for contributing to the vLLM project. Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can do one of these:
🚀 |
Regarding failure in entrypoints-test:
I looked at that parser to see if there was an easy fix, but the logic is somewhat different from the others and I'd rather not try to overload this PR. |
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.
Thanks for your work on this.
I agree that the overall tool streaming extraction logic could/should be simplified, and should be addressed in another PR. |
Yes, I have been of half a mind to rewrite from scratch using finite state machines which seems like the most appropriate & clean approach; just haven't had time to dig into it yet |
@K-Mistele Yeah. I was thinking the same thing. It doesn't help that the OpenAI tool interfaces have changed multiple times and the underlying models don't even stay consistent within families. Going to be hard to completely future-proof this, so may want to let things settle a bit before the rewrite. |
@DarkLight1337 @mgoin This is good to merge per reviews from @K-Mistele and @gcalmettes Thanks! |
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.
Thanks for fixing!
Can you merge from main to fix the CI failures? |
…lm-project#10979) Signed-off-by: cedonley <[email protected]> Signed-off-by: Akshat Tripathi <[email protected]>
…lm-project#10979) Signed-off-by: cedonley <[email protected]>
…lm-project#10979) Signed-off-by: cedonley <[email protected]>
REDO of PR #10782
FIX #10781
FIX #10589
FIX #10821
FIX #10900
Key fixed issues:
To be reviewed in future PRs:
@K-Mistele @gcalmettes