Skip to content

Commit e804cda

Browse files
committed
feat(genai): update model name
1 parent 7062192 commit e804cda

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

genai/thinking/thinking_includethoughts_with_txt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def generate_content() -> str:
2020

2121
client = genai.Client()
2222
response = client.models.generate_content(
23-
model="gemini-2.5-pro-preview-03-25",
23+
model="gemini-2.5-pro-preview-05-06",
2424
contents="solve x^2 + 4x + 4 = 0",
2525
config=GenerateContentConfig(
2626
thinking_config=ThinkingConfig(include_thoughts=True)
@@ -38,7 +38,7 @@ def generate_content() -> str:
3838
if part and part.thought: # show thoughts
3939
print(part.text)
4040
# Example Response:
41-
# **Deconstructing the Quadratic**
41+
# **My Thought Process for Solving the Quadratic Equation**
4242
#
4343
# Alright, let's break down this quadratic, x² + 4x + 4 = 0. First things first:
4444
# it's a quadratic; the x² term gives it away, and we know the general form is

genai/thinking/thinking_with_txt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def generate_content() -> str:
1919

2020
client = genai.Client()
2121
response = client.models.generate_content(
22-
model="gemini-2.5-pro-preview-03-25",
22+
model="gemini-2.5-pro-preview-05-06",
2323
contents="solve x^2 + 4x + 4 = 0",
2424
)
2525
print(response.text)

0 commit comments

Comments
 (0)