gemini also lacks text blocks when performing function calls
ChatMessage(role=<MessageRole.USER: 'user'>, additional_kwargs={}, blocks=[TextBlock(block_type='text', text='I want you to create a paste of your choice about global warming and then shorten the link of the paste and paste it to my clipboard')]),
ChatMessage(role=<MessageRole.ASSISTANT: 'assistant'>, additional_kwargs={'tool_calls': [name: "create_paste"
args {
fields {
key: "paste_code"
value {
string_value: "Global warming is a serious threat to our planet. We must take action to reduce our carbon footprint and protect our environment."
}
}
fields {
key: "name"
value {
string_value: "Global Warming Awareness"
}
}
}
]}, blocks=[])