mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 06:35:00 +08:00
[Log][Bugfix] Fix default value check for image_url.detail (#9663)
This commit is contained in:
parent
722d46edb9
commit
e26d37a185
@ -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.")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user