Skip to content

Commit d08fb28

Browse files
authored
Remove extraneous apiVersion: "v1beta" in function calling sample (#139)
1 parent ddcece5 commit d08fb28

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)