We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2736cf commit 9bdd0d2Copy full SHA for 9bdd0d2
Sources/FunctionCalling-MacPaw-OpenAI/Extension/ChatQuery+Extension.swift
@@ -9,13 +9,13 @@ import FunctionCalling
9
import OpenAI
10
11
extension ChatQuery.ChatCompletionToolParam {
12
- init(tool: Tool) {
+ init(tool: FunctionCalling.Tool) {
13
self.init(function: .init(tool: tool))
14
}
15
16
17
extension ChatQuery.ChatCompletionToolParam.FunctionDefinition {
18
19
self.init(
20
name: tool.name,
21
description: tool.description,
0 commit comments