Skip to content

Commit

Permalink
Fix region tag. (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkDaoust authored Jul 17, 2024
1 parent 124584b commit 7d3e488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/FunctionCalling.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ final class FunctionCallingSnippets: XCTestCase {
}

func testFunctionCalling() async throws {
// [BEGIN function_calling]
// [START function_calling]
// Calls a hypothetical API to control a light bulb and returns the values that were set.
func controlLight(brightness: Double, colorTemperature: String) -> JSONObject {
return ["brightness": .number(brightness), "colorTemperature": .string(colorTemperature)]
Expand Down

0 comments on commit 7d3e488

Please sign in to comment.