Skip to content

Commit 0b07848

Browse files
andrewheardG.Dev.Ssomsak
authored and
G.Dev.Ssomsak
committed
Remove extraneous apiVersion: "v1beta" in function calling sample (google-gemini#139)
1 parent 14e8147 commit 0b07848

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Examples/GenerativeAISample/FunctionCallingSample/ViewModels/FunctionCallingViewModel.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ class FunctionCallingViewModel: ObservableObject {
6161
],
6262
requiredParameters: ["currency_from", "currency_to"]
6363
),
64-
])],
65-
requestOptions: RequestOptions(apiVersion: "v1beta")
64+
])]
6665
)
6766
chat = model.startChat()
6867
}

0 commit comments

Comments
 (0)