You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/CompilerSwiftAI/Function Calling/CompilerClient+Functions.swift
+4-7Lines changed: 4 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -16,24 +16,24 @@ extension CompilerClient {
16
16
/// - state: Current state of your app (as defined by the developer, only needs to conform to Encodable and Sendable)
17
17
/// - token: Authorization token
18
18
/// - Returns: An array of functions with Parameters that are both Decodable and Sendable
19
-
publicfunc processFunction<State:Encodable&Sendable, Parameters:Decodable&Sendable>(_ prompt:String, for state:State, using token:String)asyncthrows->[Function<Parameters>]{
19
+
publicfunc processFunction<State:Encodable&Sendable, Parameters:Decodable&Sendable>(_ prompt:String, for state:State, using _:String)asyncthrows->[Function<Parameters>]{
20
20
functionLogger.debug("Starting processFunction with prompt: \(prompt)")
0 commit comments