Skip to content

Commit 0e34831

Browse files
katlyn-edwardscopybara-github
authored andcommitted
docs: update remaining documentation links from ai.google.dev to aistudio.google.com.
The Gemini API docs and API reference moved to aistudio.google.com/docs and aistudio.google.com/api-reference. PiperOrigin-RevId: 1015041927
1 parent 4b7a3fb commit 0e34831

6 files changed

Lines changed: 19 additions & 19 deletions

File tree

‎docs/source/index.rst‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Google Gen AI SDK
1616

1717
Google Gen AI Python SDK provides an interface for developers to integrate
1818
Google's generative models into their Python applications. It supports the
19-
`Gemini Developer API <https://ai.google.dev/gemini-api/docs>`_ and
19+
`Gemini Developer API <https://aistudio.google.com/docs>`_ and
2020
`Gemini Enterprise Agent Platform API <https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/beginners-guide>`_
2121
APIs.
2222

@@ -46,7 +46,7 @@ Create a client
4646
---------------
4747

4848
Please run one of the following code blocks to create a client for
49-
different services (`Gemini Developer API <https://ai.google.dev/gemini-api/docs>`_ or `Gemini Enterprise Agent Platform API <https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/beginners-guide>`_).
49+
different services (`Gemini Developer API <https://aistudio.google.com/docs>`_ or `Gemini Enterprise Agent Platform API <https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/beginners-guide>`_).
5050

5151
.. code:: python
5252
@@ -607,7 +607,7 @@ deterministic, lowering the `temperature` parameter reduces randomness, with
607607
values near 0 minimizing variability. Capabilities and parameter defaults for
608608
each model is shown in the
609609
`Gemini Enterprise Agent Platform docs <https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/gemini/2-5-flash>`_
610-
and `Gemini API docs <https://ai.google.dev/gemini-api/docs/models>`_ respectively.
610+
and `Gemini API docs <https://aistudio.google.com/docs/models>`_ respectively.
611611

612612
.. code:: python
613613
@@ -1663,7 +1663,7 @@ Interactions
16631663
============
16641664

16651665
The Interactions API is a unified interface for interacting with Gemini models and agents. It simplifies state management, tool orchestration, and long-running tasks.
1666-
See the `Interactions documentation <https://ai.google.dev/gemini-api/docs/interactions>`_ for more details.
1666+
See the `Interactions documentation <https://aistudio.google.com/docs/interactions-overview>`_ for more details.
16671667

16681668
Basic Interaction
16691669
-----------------
@@ -2113,7 +2113,7 @@ experimental backend features that are not yet formally supported in the SDK.
21132113
The structure of the dictionary must match the backend API's request structure.
21142114

21152115
- Gemini Enterprise Agent Platform backend API docs: https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest
2116-
- GeminiAPI backend API docs: https://ai.google.dev/api/rest
2116+
- GeminiAPI backend API docs: https://aistudio.google.com/api-reference
21172117

21182118
.. code:: python
21192119

‎google/genai/_gaos/interactions.py‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def create(
112112
(Unicode codepoints) and can only contain lowercase letters, numeric
113113
characters, underscores, and dashes. International characters are allowed.
114114
Label values are optional. Label keys must start with a letter.
115-
:param model: The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
115+
:param model: The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details.
116116
:param previous_interaction_id: The ID of the previous interaction, if any.
117117
:param response_format: Enforces that the generated response is a JSON object that complies with
118118
the JSON schema specified in this field.
@@ -180,7 +180,7 @@ def create(
180180
(Unicode codepoints) and can only contain lowercase letters, numeric
181181
characters, underscores, and dashes. International characters are allowed.
182182
Label values are optional. Label keys must start with a letter.
183-
:param model: The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
183+
:param model: The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details.
184184
:param previous_interaction_id: The ID of the previous interaction, if any.
185185
:param response_format: Enforces that the generated response is a JSON object that complies with
186186
the JSON schema specified in this field.
@@ -365,7 +365,7 @@ def create(
365365
(Unicode codepoints) and can only contain lowercase letters, numeric
366366
characters, underscores, and dashes. International characters are allowed.
367367
Label values are optional. Label keys must start with a letter.
368-
:param model: The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
368+
:param model: The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details.
369369
:param previous_interaction_id: The ID of the previous interaction, if any.
370370
:param response_format: Enforces that the generated response is a JSON object that complies with
371371
the JSON schema specified in this field.
@@ -418,7 +418,7 @@ def create(
418418
(Unicode codepoints) and can only contain lowercase letters, numeric
419419
characters, underscores, and dashes. International characters are allowed.
420420
Label values are optional. Label keys must start with a letter.
421-
:param model: The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
421+
:param model: The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details.
422422
:param previous_interaction_id: The ID of the previous interaction, if any.
423423
:param response_format: Enforces that the generated response is a JSON object that complies with
424424
the JSON schema specified in this field.
@@ -1387,7 +1387,7 @@ async def create(
13871387
(Unicode codepoints) and can only contain lowercase letters, numeric
13881388
characters, underscores, and dashes. International characters are allowed.
13891389
Label values are optional. Label keys must start with a letter.
1390-
:param model: The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
1390+
:param model: The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details.
13911391
:param previous_interaction_id: The ID of the previous interaction, if any.
13921392
:param response_format: Enforces that the generated response is a JSON object that complies with
13931393
the JSON schema specified in this field.
@@ -1455,7 +1455,7 @@ async def create(
14551455
(Unicode codepoints) and can only contain lowercase letters, numeric
14561456
characters, underscores, and dashes. International characters are allowed.
14571457
Label values are optional. Label keys must start with a letter.
1458-
:param model: The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
1458+
:param model: The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details.
14591459
:param previous_interaction_id: The ID of the previous interaction, if any.
14601460
:param response_format: Enforces that the generated response is a JSON object that complies with
14611461
the JSON schema specified in this field.
@@ -1640,7 +1640,7 @@ async def create(
16401640
(Unicode codepoints) and can only contain lowercase letters, numeric
16411641
characters, underscores, and dashes. International characters are allowed.
16421642
Label values are optional. Label keys must start with a letter.
1643-
:param model: The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
1643+
:param model: The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details.
16441644
:param previous_interaction_id: The ID of the previous interaction, if any.
16451645
:param response_format: Enforces that the generated response is a JSON object that complies with
16461646
the JSON schema specified in this field.
@@ -1693,7 +1693,7 @@ async def create(
16931693
(Unicode codepoints) and can only contain lowercase letters, numeric
16941694
characters, underscores, and dashes. International characters are allowed.
16951695
Label values are optional. Label keys must start with a letter.
1696-
:param model: The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
1696+
:param model: The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details.
16971697
:param previous_interaction_id: The ID of the previous interaction, if any.
16981698
:param response_format: Enforces that the generated response is a JSON object that complies with
16991699
the JSON schema specified in this field.

‎google/genai/_gaos/types/interactions/createmodelinteraction.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class CreateModelInteractionParam(TypedDict):
7979
r"""Interaction for generating the completion using models."""
8080

8181
model: Model
82-
r"""The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details."""
82+
r"""The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details."""
8383
background: NotRequired[bool]
8484
r"""Input only. Whether to run the model interaction in the background."""
8585
cached_content: NotRequired[str]
@@ -135,7 +135,7 @@ class CreateModelInteraction(BaseModel):
135135
r"""Interaction for generating the completion using models."""
136136

137137
model: Model
138-
r"""The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details."""
138+
r"""The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details."""
139139

140140
background: Optional[bool] = None
141141
r"""Input only. Whether to run the model interaction in the background."""

‎google/genai/_gaos/types/interactions/interaction.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ class InteractionTypedDict(TypedDict):
222222
Label values are optional. Label keys must start with a letter.
223223
"""
224224
model: NotRequired[Model]
225-
r"""The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details."""
225+
r"""The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details."""
226226
output_audio: NotRequired[AudioContentParam]
227227
r"""An audio content block."""
228228
output_image: NotRequired[ImageContentParam]
@@ -333,7 +333,7 @@ class Interaction(BaseModel):
333333
"""
334334

335335
model: Optional[Model] = None
336-
r"""The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details."""
336+
r"""The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details."""
337337

338338
output_audio: Optional[AudioContent] = None
339339
r"""An audio content block."""

‎google/genai/_gaos/types/interactions/model.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@
9797
],
9898
UnrecognizedStr,
9999
]
100-
r"""The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details."""
100+
r"""The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details."""

‎google/genai/tests/tunings/test_end_to_end.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_tune_until_success(client):
4747
)
4848
else:
4949
# Remove GenAI SDK test since it is deprecated:
50-
# https://ai.google.dev/gemini-api/docs/model-tuning
50+
# https://aistudio.google.com/docs/model-tuning
5151
return
5252

5353
while not job.has_ended:

0 commit comments

Comments
 (0)