Skip to content

Commit 21fe9db

Browse files
updates
1 parent 5d226c9 commit 21fe9db

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

PolyAIExample/PolyAIExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sources/PolyAI/Interfaces/Response/Message/LLMMessageResponse+Anthropic.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ extension MessageResponse: LLMMessageResponse {
2121
switch contentItem {
2222
case .text(let text):
2323
return text
24-
case .toolUse(_, let name, _):
25-
return "Tool: \(name)"
24+
case .toolUse(let toolUSe):
25+
return "Tool: \(toolUSe.name)"
2626
}
2727
}.first ?? ""
2828
}

0 commit comments

Comments
 (0)