remove image.data temporarily because llamastack request encoding produces data=null

This commit is contained in:
Yang Yang 2025-03-25 14:02:51 -07:00
parent 77ad120403
commit 8706b08d37
4 changed files with 1 additions and 13 deletions

View file

@ -142,9 +142,6 @@ async def interleaved_content_convert_to_raw(
data = response.content
else:
raise ValueError("Unsupported URL type")
elif image.data:
# data is a base64 encoded string, decode it to bytes for RawMediaItem
data = base64.b64decode(image.data)
else:
raise ValueError("No data or URL provided")