Skip to content

Commit 9bdd0d2

Browse files
committed
fix build error
1 parent b2736cf commit 9bdd0d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/FunctionCalling-MacPaw-OpenAI/Extension/ChatQuery+Extension.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ import FunctionCalling
99
import OpenAI
1010

1111
extension ChatQuery.ChatCompletionToolParam {
12-
init(tool: Tool) {
12+
init(tool: FunctionCalling.Tool) {
1313
self.init(function: .init(tool: tool))
1414
}
1515
}
1616

1717
extension ChatQuery.ChatCompletionToolParam.FunctionDefinition {
18-
init(tool: Tool) {
18+
init(tool: FunctionCalling.Tool) {
1919
self.init(
2020
name: tool.name,
2121
description: tool.description,

0 commit comments

Comments
 (0)