diff --git a/llama-index-integrations/llms/llama-index-llms-bedrock-converse/llama_index/llms/bedrock_converse/utils.py b/llama-index-integrations/llms/llama-index-llms-bedrock-converse/llama_index/llms/bedrock_converse/utils.py index 6240b6cfa632776bb7d62722c9f9e49b475d5694..7e0be3f506bb009e63176ea6f237b125bec6c9d3 100644 --- a/llama-index-integrations/llms/llama-index-llms-bedrock-converse/llama_index/llms/bedrock_converse/utils.py +++ b/llama-index-integrations/llms/llama-index-llms-bedrock-converse/llama_index/llms/bedrock_converse/utils.py @@ -182,7 +182,7 @@ def messages_to_converse_messages( "toolUseId": message.additional_kwargs["tool_call_id"], "content": [ { - "text": message.content, + "text": message.content or "", }, ], } diff --git a/llama-index-integrations/llms/llama-index-llms-bedrock-converse/pyproject.toml b/llama-index-integrations/llms/llama-index-llms-bedrock-converse/pyproject.toml index 262edb4955ba51b7ecb5e0b9ce27f474a84d708d..572224311da1749eaf44cabb6fd69961f0b14952 100644 --- a/llama-index-integrations/llms/llama-index-llms-bedrock-converse/pyproject.toml +++ b/llama-index-integrations/llms/llama-index-llms-bedrock-converse/pyproject.toml @@ -27,7 +27,7 @@ exclude = ["**/BUILD"] license = "MIT" name = "llama-index-llms-bedrock-converse" readme = "README.md" -version = "0.4.7" +version = "0.4.8" [tool.poetry.dependencies] python = ">=3.9,<4.0"