Skip to content

Commit

Permalink
Forced function calling (google-gemini#124)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Heard <[email protected]>
  • Loading branch information
2 people authored and G.Dev.Ssomsak committed Jun 21, 2024
1 parent ab4f33c commit e4e1fed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// limitations under the License.

import SwiftUI

public struct InputField<Label>: View where Label: View {
@Binding
private var text: String
Expand Down
2 changes: 1 addition & 1 deletion Mintfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nicklockwood/SwiftFormat@0.52.10
nicklockwood/SwiftFormat@0.53.5
2 changes: 2 additions & 0 deletions Sources/GoogleAI/GenerateContentRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ struct GenerateContentRequest {
let generationConfig: GenerationConfig?
let safetySettings: [SafetySetting]?
let tools: [Tool]?
let toolConfig: ToolConfig?
let isStreaming: Bool
let options: RequestOptions
}
Expand All @@ -33,6 +34,7 @@ extension GenerateContentRequest: Encodable {
case generationConfig
case safetySettings
case tools
case toolConfig
}
}

Expand Down

0 comments on commit e4e1fed

Please sign in to comment.