-
Fix breaking changes due to updated Anthropic SDK (#452)
发布于
2024-06-05 05:32:05 +00:00 Anthropic just moved their tool use from beta to main so we have to
change the importfrom anthropic.types.beta.tools import ToolUseBlock
tofrom anthropic.types import ToolUseBlock. You cannot run the eval
without this change as things break.Also, my IDE automatically sorted the imported packages and removed some
extra spaces -- this explains all the other changes.下载附件