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
d066e520
Unverified
Commit
d066e520
authored
May 14, 2025
by
Cyrus Leung
Committed by
GitHub
May 14, 2025
Browse files
[Bugfix] Fix chat utils tests (#18139)
Signed-off-by:
DarkLight1337
<
tlleungac@connect.ust.hk
>
parent
c8ea982d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests/entrypoints/test_chat_utils.py
tests/entrypoints/test_chat_utils.py
+3
-3
No files found.
tests/entrypoints/test_chat_utils.py
View file @
d066e520
...
...
@@ -845,10 +845,10 @@ def test_resolve_hf_chat_template(sample_json_schema, model, use_tools):
# Test detecting the tokenizer's chat_template
chat_template
=
resolve_hf_chat_template
(
model_config
,
tokenizer
,
chat_template
=
None
,
tools
=
tools
,
model_config
=
model_config
,
)
assert
isinstance
(
chat_template
,
str
)
...
...
@@ -890,10 +890,10 @@ def test_resolve_content_format_hf_defined(model, expected_format):
# Test detecting the tokenizer's chat_template
chat_template
=
resolve_hf_chat_template
(
model_config
,
tokenizer
,
chat_template
=
None
,
tools
=
None
,
model_config
=
model_config
,
)
assert
isinstance
(
chat_template
,
str
)
...
...
@@ -949,10 +949,10 @@ def test_resolve_content_format_fallbacks(model, expected_format):
# Test detecting the tokenizer's chat_template
chat_template
=
resolve_hf_chat_template
(
model_config
,
tokenizer
,
chat_template
=
None
,
tools
=
None
,
model_config
=
model_config
,
)
assert
isinstance
(
chat_template
,
str
)
...
...
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