Skip to content

Commit 00b540e

Browse files
author
liuhuiqi.7
committed
feat(vlm_for_e2e): fix format
Change-Id: I8fdf7224646c353b7de539707d471ae747d53238
1 parent e4cd791 commit 00b540e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

volcenginesdkarkruntime/resources/chat/completions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def _process_messages(self, messages: Iterable[ChatCompletionMessageParam],
5858
part["image_url"]["url"] = f(part["image_url"]["url"])
5959
else:
6060
warnings.warn("encryption is not supported for image url, "
61-
"please use base64 image if you want encryption")
61+
"please use base64 image if you want encryption")
6262
else:
6363
raise TypeError("encryption is not supported for content type {}".
6464
format(type(part)))
@@ -196,7 +196,7 @@ def _process_messages(self, messages: Iterable[ChatCompletionMessageParam],
196196
part["image_url"]["url"] = f(part["image_url"]["url"])
197197
else:
198198
warnings.warn("encryption is not supported for image url, "
199-
"please use base64 image if you want encryption")
199+
"please use base64 image if you want encryption")
200200
else:
201201
raise TypeError("encryption is not supported for content type {}".
202202
format(type(part)))

0 commit comments

Comments
 (0)