Skip to content

Commit

Permalink
fix a misspelling
Browse files Browse the repository at this point in the history
  • Loading branch information
ghntd authored Dec 17, 2024
1 parent 8afb84c commit 897280e
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 897280e

Please sign in to comment.