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
e26d37a1
Unverified
Commit
e26d37a1
authored
Oct 24, 2024
by
Michael Goin
Committed by
GitHub
Oct 24, 2024
Browse files
[Log][Bugfix] Fix default value check for `image_url.detail` (#9663)
parent
722d46ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vllm/entrypoints/chat_utils.py
vllm/entrypoints/chat_utils.py
+2
-1
No files found.
vllm/entrypoints/chat_utils.py
View file @
e26d37a1
...
@@ -452,7 +452,8 @@ def _parse_chat_message_content_mm_part(
...
@@ -452,7 +452,8 @@ def _parse_chat_message_content_mm_part(
content
=
MM_PARSER_MAP
[
part_type
](
part
)
content
=
MM_PARSER_MAP
[
part_type
](
part
)
# Special case for 'image_url.detail'
# Special case for 'image_url.detail'
if
part_type
==
"image_url"
and
part
.
get
(
"detail"
)
!=
"auto"
:
# We only support 'auto', which is the default
if
part_type
==
"image_url"
and
part
.
get
(
"detail"
,
"auto"
)
!=
"auto"
:
logger
.
warning
(
"'image_url.detail' is currently not supported "
logger
.
warning
(
"'image_url.detail' is currently not supported "
"and will be ignored."
)
"and will be ignored."
)
...
...
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