Skip to content

Commit 3851874

Browse files
committed
wip
1 parent ef9b889 commit 3851874

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Models/Tool.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ extension Tool.Choice: Codable {
881881
case "mcp":
882882
let server = try container.decode(String.self, forKey: .serverLabel)
883883
let tool = try container.decodeIfPresent(String.self, forKey: .name)
884-
self = .mcp(server: server, tool: tool)
884+
self = .mcp(server: server, name: tool)
885885
case "custom":
886886
let name = try container.decode(String.self, forKey: .name)
887887
self = .custom(name: name)

0 commit comments

Comments
 (0)