Gigachat 3 tool parser and tests#14765
Merged
Kangyan-Zhou merged 1 commit intosgl-project:mainfrom Feb 3, 2026
Merged
Conversation
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Contributor
Author
a22943f to
4e43da1
Compare
Contributor
Author
|
Hi @CatherineSue @JustinTong0323, could you please take a look at this PR when you have a chance? Thanks! |
1 similar comment
Contributor
Author
|
Hi @CatherineSue @JustinTong0323, could you please take a look at this PR when you have a chance? Thanks! |
Collaborator
|
/tag-and-rerun-ci |
Collaborator
|
@ajpqs could you please attach the result of test/registered/function_call/test_function_call_parser.py for this PR? I think once verified it should be ready to merge. |
Kangyan-Zhou
approved these changes
Feb 2, 2026
Contributor
Author
Output: |
yuki-brook
pushed a commit
to scitix/sglang
that referenced
this pull request
Feb 3, 2026
charlesHsuGG
pushed a commit
to charlesHsuGG/sglang
that referenced
this pull request
Feb 5, 2026
sfiisf
pushed a commit
to sfiisf/sglang
that referenced
this pull request
Feb 5, 2026
Johnsonms
pushed a commit
to Johnsonms/sglang
that referenced
this pull request
Feb 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
This PR adds a tool parser for parsing the function calls made by the Gigachat 3 models.
Models can generate only one function call using format:
Where
<|message_sep|>\n\nand<|role_sep|>\nare special tokens.Modifications
Add Gigachat 3 parser and unite tests to it. PR doesnt affects any existing code or tests.
Accuracy Tests
Benchmarking and Profiling
Checklist