Skip to content

Commit

Permalink
fix typo (#2916)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghntd authored Dec 18, 2024
1 parent bafa3d2 commit 1b219e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lmdeploy/serve/vl_async_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ async def async_convert_to_pil_images(cls,
def _inner_call(i, in_messages, out_messages):
role = in_messages[i]['role']
content = in_messages[i]['content']
assert role in ['sytem', 'user', 'assistant'], \
assert role in ['system', 'user', 'assistant'], \
f'unsupported role "{role}"'
if role != 'user' or isinstance(content, str):
# the content is a user's prompt or an assistant's prompt,
Expand Down

0 comments on commit 1b219e3

Please sign in to comment.