Skip to content

Commit 8f8cc8f

Browse files
Update TextGeneration.swift
1 parent 44b8ce1 commit 8f8cc8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

samples/TextGeneration.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import XCTest
3333

3434
func testTextOnlyPrompt() async throws {
3535
// [START text_gen_text_only_prompt]
36+
import GoogleGenerativeAI
3637
let generativeModel =
3738
GenerativeModel(
3839
// Specify a Gemini model appropriate for your use case

0 commit comments

Comments
 (0)