Skip to content

Commit

Permalink
Fix anthropic messages (#16279)
Browse files Browse the repository at this point in the history
  • Loading branch information
logan-markewich authored Sep 29, 2024
1 parent feabea0 commit 648d5d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def messages_to_anthropic_messages(
),
)
if "cache_control" in message.additional_kwargs
else [TextBlockParam(text=message.content, type="text")]
else TextBlockParam(text=message.content, type="text")
)
content.append(content_)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ exclude = ["**/BUILD"]
license = "MIT"
name = "llama-index-llms-anthropic"
readme = "README.md"
version = "0.3.3"
version = "0.3.4"

[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
Expand Down

0 comments on commit 648d5d4

Please sign in to comment.