Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
1f0c75af
Unverified
Commit
1f0c75af
authored
Sep 12, 2024
by
Luis Vega
Committed by
GitHub
Sep 12, 2024
Browse files
[BugFix] Fix Duplicate Assignment in Hermes2ProToolParser (#8423)
parent
8a23e933
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
vllm/entrypoints/openai/tool_parsers/hermes_tool_parser.py
vllm/entrypoints/openai/tool_parsers/hermes_tool_parser.py
+0
-1
No files found.
vllm/entrypoints/openai/tool_parsers/hermes_tool_parser.py
View file @
1f0c75af
...
...
@@ -33,7 +33,6 @@ class Hermes2ProToolParser(ToolParser):
self
.
current_tool_name_sent
:
bool
=
False
self
.
prev_tool_call_arr
:
List
[
Dict
]
=
[]
self
.
current_tool_id
:
int
=
-
1
self
.
current_tool_name_sent
=
False
self
.
streamed_args_for_tool
:
List
[
str
]
=
[
]
# map what has been streamed for each tool so far to a list
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment