-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Fix the input tools format and history tool_calls in OpenAI API #6556
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
Merged
Merged
Changes from 10 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
a80c60b
keep full tools in request
chen700564 deee339
fix the type of function.arguments in message
chen700564 e162388
Merge branch 'sgl-project:main' into tool_call_fix
chen700564 e078c23
Merge branch 'sgl-project:main' into tool_call_fix
chen700564 bb70cee
update
chen700564 057db59
Merge branch 'main' into tool_call_fix
zhaochenyang20 77d828b
Merge branch 'main' into tool_call_fix
chen700564 fe4f823
Update adapter.py
chen700564 c7ad4d8
Update adapter.py
chen700564 c810d40
Merge branch 'main' into tool_call_fix
chen700564 f68d4a0
Add back the comment at L1096 originally
chen700564 70ea1c3
remove out-of-date code block
chen700564 9a9e07c
Merge branch 'sgl-project:main' into tool_call_fix
chen700564 b6a751d
pre-commit fix
chen700564 0850811
Delete python/sglang/srt/openai_api/adapter.py
chen700564 b39295a
Merge branch 'sgl-project:main' into tool_call_fix
chen700564 b66b9be
new version: keep full tools in request
chen700564 58a1003
new version: fix the type of function.arguments in OpenAI message
chen700564 78d9902
pre-commit fix
chen700564 b81fad3
Merge branch 'main' into tool_call_fix
chen700564 e8a1a0d
Merge branch 'main' into tool_call_fix
CatherineSue da42972
Merge branch 'main' into tool_call_fix
CatherineSue 9cb2b3f
Merge branch 'main' into tool_call_fix
chen700564 d60516e
Merge branch 'main' into tool_call_fix
chen700564 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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.
Uh oh!
There was an error while loading. Please reload this page.