class RubyLLM::Content

def format

def format
  return @parts.first[:text] if @parts.size == 1 && @parts.first[:type] == 'text'
  to_a
end