mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-10 04:08:31 +00:00
fix2
Summary: Test Plan:
This commit is contained in:
parent
e9a63e9592
commit
d1b5591c89
1 changed files with 1 additions and 0 deletions
|
@ -547,6 +547,7 @@ async def convert_message_to_openai_dict_new(
|
|||
raise ValueError(f"Unsupported content type: {type(content)}")
|
||||
|
||||
ret = await impl()
|
||||
return ret
|
||||
if isinstance(ret, str) or isinstance(ret, list):
|
||||
return ret
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue