Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2b7899b

Browse files
authored
docs: remove note about using GeminiModel instead of GoogleModel (#2184)
1 parent484022f commit2b7899b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

‎docs/models/google.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@ pip/uv-add "pydantic-ai-slim[google]"
1313

1414
---
1515

16-
!!! warning "Explicit instantiation required"
17-
You**cannot** currently use`Agent('google-gla:gemini-1.5-flash')` or`Agent('google-vertex:gemini-1.5-flash')` directly with`GoogleModel`. The model name inference will select[`GeminiModel`](../models/gemini.md) instead of`GoogleModel`.
18-
19-
To use `GoogleModel`, you **must** explicitly instantiate a [`GoogleProvider`][pydantic_ai.providers.google.GoogleProvider] and pass it to
20-
[`GoogleModel`][pydantic_ai.models.google.GoogleModel], then pass the model to [`Agent`][pydantic_ai.Agent].
21-
22-
---
23-
2416
##Configuration
2517

2618
`GoogleModel` lets you use Google's Gemini models through their[Generative Language API](https://ai.google.dev/api/all-methods) (`generativelanguage.googleapis.com`) or[Vertex AI API](https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models) (`*-aiplatform.googleapis.com`).

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp