autogen icon indicating copy to clipboard operation
autogen copied to clipboard

FIX: `MultiModalMessage` in gemini with openai sdk error occured

Open SongChiYoung opened this issue 7 months ago • 0 comments

Why are these changes needed?

Multimodal message fill context with other routine. However current _set_empty_to_whitespace is fill with context. So, error occured.

And, I checked multimodal_user_transformer_funcs and I found it, in this routine, context must not be empty. Now remove the _set_empty_to_whitespace when multimodal message,

Related issue number

#6439

Checks

SongChiYoung avatar Apr 30 '25 14:04 SongChiYoung