Skip to content

Commit 4ae0c13

Browse files
Apply suggestions from code review
Co-authored-by: Sampath Kumar <[email protected]>
1 parent 6841fee commit 4ae0c13

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

genai/text_generation/test_text_generation_examples.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
import textgen_with_txt
3434
import textgen_with_txt_img
3535
import textgen_with_txt_stream
36-
import textgen_with_txt_thinking
36+
import thinking_textgen_with_txt
3737
import textgen_with_video
3838
import textgen_with_youtube_video
3939

@@ -85,7 +85,7 @@ def test_textgen_with_txt_img() -> None:
8585

8686

8787
def test_textgen_with_txt_thinking() -> None:
88-
response = textgen_with_txt_thinking.generate_content()
88+
response = thinking_textgen_with_txt.generate_content()
8989
assert response
9090

9191

genai/text_generation/textgen_with_txt_thinking.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
def generate_content() -> str:
17-
# [START googlegenaisdk_textgen_with_txt_thinking]
17+
# [START googlegenaisdk_thinking_textgen_with_txt]
1818
from google import genai
1919
from google.genai.types import HttpOptions
2020

@@ -58,7 +58,7 @@ def generate_content() -> str:
5858

5959
# Final Answer: The final answer is $\boxed{-2}$
6060

61-
# [END googlegenaisdk_textgen_with_txt_thinking]
61+
# [END googlegenaisdk_thinking_textgen_with_txt]
6262
return response.text
6363

6464

0 commit comments

Comments
 (0)