Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion genai/batch_prediction/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
google-cloud-bigquery==3.29.0
google-cloud-storage==2.19.0
google-genai==1.42.0
google-genai==2.0.0
2 changes: 1 addition & 1 deletion genai/bounding_box/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
google-genai==1.42.0
google-genai==2.0.0
pillow==11.1.0
2 changes: 1 addition & 1 deletion genai/code_execution/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
google-genai==1.60.0
google-genai==2.0.0
pillow==11.1.0
2 changes: 1 addition & 1 deletion genai/content_cache/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.42.0
google-genai==2.0.0
2 changes: 1 addition & 1 deletion genai/controlled_generation/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.42.0
google-genai==2.0.0
2 changes: 1 addition & 1 deletion genai/count_tokens/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
google-genai==1.42.0
google-genai==2.0.0
sentencepiece==0.2.1
2 changes: 1 addition & 1 deletion genai/embeddings/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.42.0
google-genai==2.0.0
2 changes: 1 addition & 1 deletion genai/express_mode/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.42.0
google-genai==2.0.0
2 changes: 1 addition & 1 deletion genai/image_generation/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
google-genai==1.42.0
google-genai==2.0.0
pillow==11.1.0
2 changes: 1 addition & 1 deletion genai/live/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
google-genai==1.42.0
google-genai==2.0.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The update to google-genai==2.0.0 introduces breaking changes for the Interactions API, which is the foundation for the Live API samples in this directory. Specifically, SSE events have been renamed (e.g., to interaction.created and interaction.completed) and the response_format field has been updated. Since this PR only updates the dependency version without corresponding code migrations, the samples in this directory will likely break.

Additionally, google-genai made aiohttp an optional dependency in v1.65.0. Because the Live API is asynchronous, it is recommended to use the [aiohttp] extra to ensure the necessary async backend is available for these samples.

google-genai[aiohttp]==2.0.0
References
  1. While related changes in other files can be deferred to simplify the review process, ensuring that the dependency specification itself is complete (e.g., including necessary extras like [aiohttp] for async samples) is appropriate for a dependency update PR.

scipy==1.16.1
websockets==15.0.1
numpy==1.26.4
Expand Down
2 changes: 1 addition & 1 deletion genai/model_optimizer/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.42.0
google-genai==2.0.0
2 changes: 1 addition & 1 deletion genai/provisioned_throughput/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.42.0
google-genai==2.0.0
2 changes: 1 addition & 1 deletion genai/safety/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.42.0
google-genai==2.0.0
2 changes: 1 addition & 1 deletion genai/template_folder/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.42.0
google-genai==2.0.0
2 changes: 1 addition & 1 deletion genai/text_generation/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.42.0
google-genai==2.0.0
2 changes: 1 addition & 1 deletion genai/thinking/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.42.0
google-genai==2.0.0
2 changes: 1 addition & 1 deletion genai/tools/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
google-genai==1.45.0
google-genai==2.0.0
# PIl is required for tools_code_execution_with_txt_img.py
pillow==11.1.0
2 changes: 1 addition & 1 deletion genai/tuning/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.47.0
google-genai==2.0.0
2 changes: 1 addition & 1 deletion genai/video_generation/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.43.0
google-genai==2.0.0
2 changes: 1 addition & 1 deletion model_garden/anthropic/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.7.0
google-genai==2.0.0