Remove TODO comment

This commit is contained in:
Paul Kompfner
2025-08-20 10:01:37 -04:00
parent ecc4cc4a79
commit 40557a1aae

View File

@@ -178,7 +178,6 @@ class LLMContext:
"""
buffer = io.BytesIO()
Image.frombytes(format, size, image).save(buffer, format="JPEG")
# TODO: we might not want the universal format to be base64 encoded, since encoding is not needed by all LLM services; today, te Gemini adapter has to decode from base64, which is less than ideal.
encoded_image = base64.b64encode(buffer.getvalue()).decode("utf-8")
content = []