google-genai 1.20.0__py3-none-any.whl → 1.21.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- google/genai/_api_client.py +170 -103
- google/genai/_common.py +73 -0
- google/genai/_live_converters.py +174 -414
- google/genai/_replay_api_client.py +9 -3
- google/genai/_tokens_converters.py +81 -176
- google/genai/_transformers.py +19 -40
- google/genai/batches.py +46 -64
- google/genai/caches.py +131 -222
- google/genai/chats.py +4 -4
- google/genai/client.py +1 -1
- google/genai/files.py +88 -106
- google/genai/live.py +15 -20
- google/genai/live_music.py +4 -5
- google/genai/models.py +317 -560
- google/genai/operations.py +35 -68
- google/genai/tokens.py +11 -6
- google/genai/tunings.py +64 -113
- google/genai/types.py +132 -9
- google/genai/version.py +1 -1
- {google_genai-1.20.0.dist-info → google_genai-1.21.1.dist-info}/METADATA +45 -1
- google_genai-1.21.1.dist-info/RECORD +35 -0
- google_genai-1.20.0.dist-info/RECORD +0 -35
- {google_genai-1.20.0.dist-info → google_genai-1.21.1.dist-info}/WHEEL +0 -0
- {google_genai-1.20.0.dist-info → google_genai-1.21.1.dist-info}/licenses/LICENSE +0 -0
- {google_genai-1.20.0.dist-info → google_genai-1.21.1.dist-info}/top_level.txt +0 -0
google/genai/types.py
CHANGED
@@ -1124,6 +1124,63 @@ class ContentDict(TypedDict, total=False):
|
|
1124
1124
|
ContentOrDict = Union[Content, ContentDict]
|
1125
1125
|
|
1126
1126
|
|
1127
|
+
class HttpRetryOptions(_common.BaseModel):
|
1128
|
+
"""HTTP retry options to be used in each of the requests."""
|
1129
|
+
|
1130
|
+
attempts: Optional[int] = Field(
|
1131
|
+
default=None,
|
1132
|
+
description="""Maximum number of attempts, including the original request.
|
1133
|
+
If 0 or 1, it means no retries.""",
|
1134
|
+
)
|
1135
|
+
initial_delay: Optional[float] = Field(
|
1136
|
+
default=None,
|
1137
|
+
description="""Initial delay before the first retry, in fractions of a second.""",
|
1138
|
+
)
|
1139
|
+
max_delay: Optional[float] = Field(
|
1140
|
+
default=None,
|
1141
|
+
description="""Maximum delay between retries, in fractions of a second.""",
|
1142
|
+
)
|
1143
|
+
exp_base: Optional[float] = Field(
|
1144
|
+
default=None,
|
1145
|
+
description="""Multiplier by which the delay increases after each attempt.""",
|
1146
|
+
)
|
1147
|
+
jitter: Optional[float] = Field(
|
1148
|
+
default=None, description="""Randomness factor for the delay."""
|
1149
|
+
)
|
1150
|
+
http_status_codes: Optional[list[int]] = Field(
|
1151
|
+
default=None,
|
1152
|
+
description="""List of HTTP status codes that should trigger a retry.
|
1153
|
+
If not specified, a default set of retryable codes may be used.""",
|
1154
|
+
)
|
1155
|
+
|
1156
|
+
|
1157
|
+
class HttpRetryOptionsDict(TypedDict, total=False):
|
1158
|
+
"""HTTP retry options to be used in each of the requests."""
|
1159
|
+
|
1160
|
+
attempts: Optional[int]
|
1161
|
+
"""Maximum number of attempts, including the original request.
|
1162
|
+
If 0 or 1, it means no retries."""
|
1163
|
+
|
1164
|
+
initial_delay: Optional[float]
|
1165
|
+
"""Initial delay before the first retry, in fractions of a second."""
|
1166
|
+
|
1167
|
+
max_delay: Optional[float]
|
1168
|
+
"""Maximum delay between retries, in fractions of a second."""
|
1169
|
+
|
1170
|
+
exp_base: Optional[float]
|
1171
|
+
"""Multiplier by which the delay increases after each attempt."""
|
1172
|
+
|
1173
|
+
jitter: Optional[float]
|
1174
|
+
"""Randomness factor for the delay."""
|
1175
|
+
|
1176
|
+
http_status_codes: Optional[list[int]]
|
1177
|
+
"""List of HTTP status codes that should trigger a retry.
|
1178
|
+
If not specified, a default set of retryable codes may be used."""
|
1179
|
+
|
1180
|
+
|
1181
|
+
HttpRetryOptionsOrDict = Union[HttpRetryOptions, HttpRetryOptionsDict]
|
1182
|
+
|
1183
|
+
|
1127
1184
|
class HttpOptions(_common.BaseModel):
|
1128
1185
|
"""HTTP options to be used in each of the requests."""
|
1129
1186
|
|
@@ -1147,6 +1204,13 @@ class HttpOptions(_common.BaseModel):
|
|
1147
1204
|
async_client_args: Optional[dict[str, Any]] = Field(
|
1148
1205
|
default=None, description="""Args passed to the async HTTP client."""
|
1149
1206
|
)
|
1207
|
+
extra_body: Optional[dict[str, Any]] = Field(
|
1208
|
+
default=None,
|
1209
|
+
description="""Extra parameters to add to the request body.""",
|
1210
|
+
)
|
1211
|
+
retry_options: Optional[HttpRetryOptions] = Field(
|
1212
|
+
default=None, description="""HTTP retry options for the request."""
|
1213
|
+
)
|
1150
1214
|
|
1151
1215
|
|
1152
1216
|
class HttpOptionsDict(TypedDict, total=False):
|
@@ -1170,6 +1234,12 @@ class HttpOptionsDict(TypedDict, total=False):
|
|
1170
1234
|
async_client_args: Optional[dict[str, Any]]
|
1171
1235
|
"""Args passed to the async HTTP client."""
|
1172
1236
|
|
1237
|
+
extra_body: Optional[dict[str, Any]]
|
1238
|
+
"""Extra parameters to add to the request body."""
|
1239
|
+
|
1240
|
+
retry_options: Optional[HttpRetryOptionsDict]
|
1241
|
+
"""HTTP retry options for the request."""
|
1242
|
+
|
1173
1243
|
|
1174
1244
|
HttpOptionsOrDict = Union[HttpOptions, HttpOptionsDict]
|
1175
1245
|
|
@@ -1616,22 +1686,22 @@ class Schema(_common.BaseModel):
|
|
1616
1686
|
if field_value is None:
|
1617
1687
|
continue
|
1618
1688
|
if field_name not in google_schema_field_names:
|
1619
|
-
raise ValueError(
|
1689
|
+
raise ValueError(
|
1620
1690
|
f'JSONSchema field "{field_name}" is not supported by the '
|
1621
1691
|
'Schema object. And the "raise_error_on_unsupported_field" '
|
1622
1692
|
'argument is set to True. If you still want to convert '
|
1623
1693
|
'it into the Schema object, please either remove the field '
|
1624
1694
|
f'"{field_name}" from the JSONSchema object, or leave the '
|
1625
1695
|
'"raise_error_on_unsupported_field" unset.'
|
1626
|
-
)
|
1696
|
+
)
|
1627
1697
|
if (
|
1628
1698
|
field_name in gemini_api_unsupported_field_names
|
1629
1699
|
and api_option == 'GEMINI_API'
|
1630
1700
|
):
|
1631
|
-
raise ValueError(
|
1701
|
+
raise ValueError(
|
1632
1702
|
f'The "{field_name}" field is not supported by the Schema '
|
1633
1703
|
'object for GEMINI_API.'
|
1634
|
-
)
|
1704
|
+
)
|
1635
1705
|
|
1636
1706
|
def copy_schema_fields(
|
1637
1707
|
json_schema_dict: dict[str, Any],
|
@@ -1916,10 +1986,18 @@ class FunctionDeclaration(_common.BaseModel):
|
|
1916
1986
|
default=None,
|
1917
1987
|
description="""Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1""",
|
1918
1988
|
)
|
1989
|
+
parameters_json_schema: Optional[Any] = Field(
|
1990
|
+
default=None,
|
1991
|
+
description="""Optional. Describes the parameters to the function in JSON Schema format. The schema must describe an object where the properties are the parameters to the function. For example: ``` { "type": "object", "properties": { "name": { "type": "string" }, "age": { "type": "integer" } }, "additionalProperties": false, "required": ["name", "age"], "propertyOrdering": ["name", "age"] } ``` This field is mutually exclusive with `parameters`.""",
|
1992
|
+
)
|
1919
1993
|
response: Optional[Schema] = Field(
|
1920
1994
|
default=None,
|
1921
1995
|
description="""Optional. Describes the output from this function in JSON Schema format. Reflects the Open API 3.03 Response Object. The Schema defines the type used for the response value of the function.""",
|
1922
1996
|
)
|
1997
|
+
response_json_schema: Optional[Any] = Field(
|
1998
|
+
default=None,
|
1999
|
+
description="""Optional. Describes the output from this function in JSON Schema format. The value specified by the schema is the response value of the function. This field is mutually exclusive with `response`.""",
|
2000
|
+
)
|
1923
2001
|
|
1924
2002
|
@classmethod
|
1925
2003
|
def from_callable_with_api_option(
|
@@ -2041,9 +2119,15 @@ class FunctionDeclarationDict(TypedDict, total=False):
|
|
2041
2119
|
parameters: Optional[SchemaDict]
|
2042
2120
|
"""Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1"""
|
2043
2121
|
|
2122
|
+
parameters_json_schema: Optional[Any]
|
2123
|
+
"""Optional. Describes the parameters to the function in JSON Schema format. The schema must describe an object where the properties are the parameters to the function. For example: ``` { "type": "object", "properties": { "name": { "type": "string" }, "age": { "type": "integer" } }, "additionalProperties": false, "required": ["name", "age"], "propertyOrdering": ["name", "age"] } ``` This field is mutually exclusive with `parameters`."""
|
2124
|
+
|
2044
2125
|
response: Optional[SchemaDict]
|
2045
2126
|
"""Optional. Describes the output from this function in JSON Schema format. Reflects the Open API 3.03 Response Object. The Schema defines the type used for the response value of the function."""
|
2046
2127
|
|
2128
|
+
response_json_schema: Optional[Any]
|
2129
|
+
"""Optional. Describes the output from this function in JSON Schema format. The value specified by the schema is the response value of the function. This field is mutually exclusive with `response`."""
|
2130
|
+
|
2047
2131
|
|
2048
2132
|
FunctionDeclarationOrDict = Union[FunctionDeclaration, FunctionDeclarationDict]
|
2049
2133
|
|
@@ -6705,6 +6789,10 @@ class GenerationConfig(_common.BaseModel):
|
|
6705
6789
|
default=None,
|
6706
6790
|
description="""Optional. The `Schema` object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). If set, a compatible response_mime_type must also be set. Compatible mimetypes: `application/json`: Schema for JSON response.""",
|
6707
6791
|
)
|
6792
|
+
response_json_schema: Optional[Any] = Field(
|
6793
|
+
default=None,
|
6794
|
+
description="""Optional. Output schema of the generated response. This is an alternative to `response_schema` that accepts [JSON Schema](https://json-schema.org/). If set, `response_schema` must be omitted, but `response_mime_type` is required. While the full JSON Schema may be sent, not all features are supported. Specifically, only the following properties are supported: - `$id` - `$defs` - `$ref` - `$anchor` - `type` - `format` - `title` - `description` - `enum` (for strings and numbers) - `items` - `prefixItems` - `minItems` - `maxItems` - `minimum` - `maximum` - `anyOf` - `oneOf` (interpreted the same as `anyOf`) - `properties` - `additionalProperties` - `required` The non-standard `propertyOrdering` property may also be set. Cyclic references are unrolled to a limited degree and, as such, may only be used within non-required properties. (Nullable properties are not sufficient.) If `$ref` is set on a sub-schema, no other properties, except for than those starting as a `$`, may be set.""",
|
6795
|
+
)
|
6708
6796
|
routing_config: Optional[GenerationConfigRoutingConfig] = Field(
|
6709
6797
|
default=None, description="""Optional. Routing configuration."""
|
6710
6798
|
)
|
@@ -6772,6 +6860,9 @@ class GenerationConfigDict(TypedDict, total=False):
|
|
6772
6860
|
response_schema: Optional[SchemaDict]
|
6773
6861
|
"""Optional. The `Schema` object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). If set, a compatible response_mime_type must also be set. Compatible mimetypes: `application/json`: Schema for JSON response."""
|
6774
6862
|
|
6863
|
+
response_json_schema: Optional[Any]
|
6864
|
+
"""Optional. Output schema of the generated response. This is an alternative to `response_schema` that accepts [JSON Schema](https://json-schema.org/). If set, `response_schema` must be omitted, but `response_mime_type` is required. While the full JSON Schema may be sent, not all features are supported. Specifically, only the following properties are supported: - `$id` - `$defs` - `$ref` - `$anchor` - `type` - `format` - `title` - `description` - `enum` (for strings and numbers) - `items` - `prefixItems` - `minItems` - `maxItems` - `minimum` - `maximum` - `anyOf` - `oneOf` (interpreted the same as `anyOf`) - `properties` - `additionalProperties` - `required` The non-standard `propertyOrdering` property may also be set. Cyclic references are unrolled to a limited degree and, as such, may only be used within non-required properties. (Nullable properties are not sufficient.) If `$ref` is set on a sub-schema, no other properties, except for than those starting as a `$`, may be set."""
|
6865
|
+
|
6775
6866
|
routing_config: Optional[GenerationConfigRoutingConfigDict]
|
6776
6867
|
"""Optional. Routing configuration."""
|
6777
6868
|
|
@@ -9259,6 +9350,10 @@ class CreateFileConfig(_common.BaseModel):
|
|
9259
9350
|
http_options: Optional[HttpOptions] = Field(
|
9260
9351
|
default=None, description="""Used to override HTTP request options."""
|
9261
9352
|
)
|
9353
|
+
should_return_http_response: Optional[bool] = Field(
|
9354
|
+
default=None,
|
9355
|
+
description=""" If true, the raw HTTP response will be returned in the 'sdk_http_response' field.""",
|
9356
|
+
)
|
9262
9357
|
|
9263
9358
|
|
9264
9359
|
class CreateFileConfigDict(TypedDict, total=False):
|
@@ -9267,6 +9362,9 @@ class CreateFileConfigDict(TypedDict, total=False):
|
|
9267
9362
|
http_options: Optional[HttpOptionsDict]
|
9268
9363
|
"""Used to override HTTP request options."""
|
9269
9364
|
|
9365
|
+
should_return_http_response: Optional[bool]
|
9366
|
+
""" If true, the raw HTTP response will be returned in the 'sdk_http_response' field."""
|
9367
|
+
|
9270
9368
|
|
9271
9369
|
CreateFileConfigOrDict = Union[CreateFileConfig, CreateFileConfigDict]
|
9272
9370
|
|
@@ -9309,20 +9407,45 @@ _CreateFileParametersOrDict = Union[
|
|
9309
9407
|
]
|
9310
9408
|
|
9311
9409
|
|
9410
|
+
class HttpResponse(_common.BaseModel):
|
9411
|
+
"""A wrapper class for the http response."""
|
9412
|
+
|
9413
|
+
headers: Optional[dict[str, str]] = Field(
|
9414
|
+
default=None,
|
9415
|
+
description="""Used to retain the processed HTTP headers in the response.""",
|
9416
|
+
)
|
9417
|
+
body: Optional[str] = Field(
|
9418
|
+
default=None,
|
9419
|
+
description="""The raw HTTP response body, in JSON format.""",
|
9420
|
+
)
|
9421
|
+
|
9422
|
+
|
9423
|
+
class HttpResponseDict(TypedDict, total=False):
|
9424
|
+
"""A wrapper class for the http response."""
|
9425
|
+
|
9426
|
+
headers: Optional[dict[str, str]]
|
9427
|
+
"""Used to retain the processed HTTP headers in the response."""
|
9428
|
+
|
9429
|
+
body: Optional[str]
|
9430
|
+
"""The raw HTTP response body, in JSON format."""
|
9431
|
+
|
9432
|
+
|
9433
|
+
HttpResponseOrDict = Union[HttpResponse, HttpResponseDict]
|
9434
|
+
|
9435
|
+
|
9312
9436
|
class CreateFileResponse(_common.BaseModel):
|
9313
9437
|
"""Response for the create file method."""
|
9314
9438
|
|
9315
|
-
|
9316
|
-
default=None,
|
9317
|
-
description="""Used to retain the HTTP headers in the request""",
|
9439
|
+
sdk_http_response: Optional[HttpResponse] = Field(
|
9440
|
+
default=None, description="""Used to retain the full HTTP response."""
|
9318
9441
|
)
|
9319
9442
|
|
9320
9443
|
|
9321
9444
|
class CreateFileResponseDict(TypedDict, total=False):
|
9322
9445
|
"""Response for the create file method."""
|
9323
9446
|
|
9324
|
-
|
9325
|
-
"""Used to retain the HTTP
|
9447
|
+
sdk_http_response: Optional[HttpResponseDict]
|
9448
|
+
"""Used to retain the full HTTP response."""
|
9326
9449
|
|
9327
9450
|
|
9328
9451
|
CreateFileResponseOrDict = Union[CreateFileResponse, CreateFileResponseDict]
|
google/genai/version.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: google-genai
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.21.1
|
4
4
|
Summary: GenAI Python SDK
|
5
5
|
Author-email: Google LLC <googleapis-packages@google.com>
|
6
6
|
License: Apache-2.0
|
@@ -25,6 +25,7 @@ Requires-Dist: google-auth<3.0.0,>=2.14.1
|
|
25
25
|
Requires-Dist: httpx<1.0.0,>=0.28.1
|
26
26
|
Requires-Dist: pydantic<3.0.0,>=2.0.0
|
27
27
|
Requires-Dist: requests<3.0.0,>=2.28.1
|
28
|
+
Requires-Dist: tenacity<9.0.0,>=8.2.3
|
28
29
|
Requires-Dist: websockets<15.1.0,>=13.0.0
|
29
30
|
Requires-Dist: typing-extensions<5.0.0,>=4.11.0
|
30
31
|
Provides-Extra: aiohttp
|
@@ -142,6 +143,49 @@ client = genai.Client(
|
|
142
143
|
)
|
143
144
|
```
|
144
145
|
|
146
|
+
### Faster async client option: Aiohttp
|
147
|
+
|
148
|
+
By default we use httpx for both sync and async client implementations. In order
|
149
|
+
to have faster performance, you may install `google-genai[aiohttp]`. In Gen AI
|
150
|
+
SDK we configure `trust_env=True` to match with the default behavior of httpx.
|
151
|
+
Additional args of `aiohttp.ClientSession.request()` ([see _RequestOptions args](https://github.com/aio-libs/aiohttp/blob/v3.12.13/aiohttp/client.py#L170)) can be passed
|
152
|
+
through the following way:
|
153
|
+
|
154
|
+
```python
|
155
|
+
|
156
|
+
http_options = types.HttpOptions(
|
157
|
+
async_client_args={'cookies': ..., 'ssl': ...},
|
158
|
+
)
|
159
|
+
|
160
|
+
client=Client(..., http_options=http_options)
|
161
|
+
```
|
162
|
+
|
163
|
+
### Proxy
|
164
|
+
|
165
|
+
Both httpx and aiohttp libraries use `urllib.request.getproxies` from
|
166
|
+
environment variables. Before client initialization, you may set proxy (and
|
167
|
+
optional SSL_CERT_FILE) by setting the environment variables:
|
168
|
+
|
169
|
+
|
170
|
+
```bash
|
171
|
+
export HTTPS_PROXY='http://username:password@proxy_uri:port'
|
172
|
+
export SSL_CERT_FILE='client.pem'
|
173
|
+
```
|
174
|
+
|
175
|
+
If you need `socks5` proxy, httpx [supports](https://www.python-httpx.org/advanced/proxies/#socks) `socks5` proxy if you pass it via
|
176
|
+
args to `httpx.Client()`. You may install `httpx[socks]` to use it.
|
177
|
+
Then, you can pass it through the following way:
|
178
|
+
|
179
|
+
```python
|
180
|
+
|
181
|
+
http_options = types.HttpOptions(
|
182
|
+
client_args={'proxy': 'socks5://user:pass@host:port'},
|
183
|
+
async_client_args={'proxy': 'socks5://user:pass@host:port'},,
|
184
|
+
)
|
185
|
+
|
186
|
+
client=Client(..., http_options=http_options)
|
187
|
+
```
|
188
|
+
|
145
189
|
## Types
|
146
190
|
|
147
191
|
Parameter types can be specified as either dictionaries(`TypedDict`) or
|
@@ -0,0 +1,35 @@
|
|
1
|
+
google/genai/__init__.py,sha256=SYTxz3Ho06pP2TBlvDU0FkUJz8ytbR3MgEpS9HvVYq4,709
|
2
|
+
google/genai/_adapters.py,sha256=Kok38miNYJff2n--l0zEK_hbq0y2rWOH7k75J7SMYbQ,1744
|
3
|
+
google/genai/_api_client.py,sha256=LCRuQtUd6OJs7WpvAIzw8bno7veJBFvZ1TuCeJGXMHg,49747
|
4
|
+
google/genai/_api_module.py,sha256=lj8eUWx8_LBGBz-49qz6_ywWm3GYp3d8Bg5JoOHbtbI,902
|
5
|
+
google/genai/_automatic_function_calling_util.py,sha256=IJkPq2fT9pYxYm5Pbu5-e0nBoZKoZla7yT4_txWRKLs,10324
|
6
|
+
google/genai/_base_url.py,sha256=E5H4dew14Y16qfnB3XRnjSCi19cJVlkaMNoM_8ip-PM,1597
|
7
|
+
google/genai/_common.py,sha256=l9kLBg_gQibATGneHoPvsDoH-E2b5CJ6gP3q6MQ8-Ac,14962
|
8
|
+
google/genai/_extra_utils.py,sha256=_w8hB9Ag7giRR94nIOBJFTLiLEufulPXkCZpJG1XY5g,19241
|
9
|
+
google/genai/_live_converters.py,sha256=lbpN5E8DjL74a2XLcgND4pzs3bHDeVpUtPDN8s7IZCU,108613
|
10
|
+
google/genai/_mcp_utils.py,sha256=khECx-DMuHemKzOQQ3msWp7FivPeEOnl3n1lvWc_b5o,3833
|
11
|
+
google/genai/_replay_api_client.py,sha256=0IXroewCZbyZ01qN3ZQwW5OUZRMzCrf2-3nyfTerqNY,21363
|
12
|
+
google/genai/_test_api_client.py,sha256=4ruFIy5_1qcbKqqIBu3HSQbpSOBrxiecBtDZaTGFR1s,4797
|
13
|
+
google/genai/_tokens_converters.py,sha256=LxLZGgSWn6VC2-1R-4ArcuaPK45svg5P-bpC1LjBb3w,48901
|
14
|
+
google/genai/_transformers.py,sha256=D0oFJhVeetwnXidaI0NYXB4hiljQubbUwJXb0qDNHyY,34851
|
15
|
+
google/genai/batches.py,sha256=Ykua0YpLP-FWNq7TncH123nGyL-EpZ9OS-ZJdmKf-3c,34631
|
16
|
+
google/genai/caches.py,sha256=dNP2RC-52Er-JvOoimGoIgvvcATZJUvJNTRSA6jskBM,65901
|
17
|
+
google/genai/chats.py,sha256=0QdOUeWEYDQgAWBy1f7a3z3yY9S8tXSowUzNrzazzj4,16651
|
18
|
+
google/genai/client.py,sha256=wXnfZBSv9p-yKtX_gabUrfBXoYHuqHhzK_VgwRttMgY,10777
|
19
|
+
google/genai/errors.py,sha256=UebysH1cDeIdtp1O06CW7lQjnNrWtuqZTeVgEJylX48,5589
|
20
|
+
google/genai/files.py,sha256=08M3PxoJ3RxomDopfyKYP-pSxEEbQr60-XgohDdg_T0,39647
|
21
|
+
google/genai/live.py,sha256=gORtkDEG_-IY9-50HHKkMckOUOp-YzO2Ye3oPgblRiI,39016
|
22
|
+
google/genai/live_music.py,sha256=3GG9nsto8Vhkohcs-4CPMS4DFp1ZtMuLYzHfvEPYAeg,6971
|
23
|
+
google/genai/models.py,sha256=qScVQWW6KSqvlNLE3Y7qNKx-DHOMQLwRPUhdyMewvpw,236500
|
24
|
+
google/genai/operations.py,sha256=4gSKgJ-2tISwd3O5S8Y7oNe5ue01S9Zejr6WvYNLPJM,19605
|
25
|
+
google/genai/pagers.py,sha256=nyVYxp92rS-UaewO_oBgP593knofeLU6yOn6RolNoGQ,6797
|
26
|
+
google/genai/py.typed,sha256=RsMFoLwBkAvY05t6izop4UHZtqOPLiKp3GkIEizzmQY,40
|
27
|
+
google/genai/tokens.py,sha256=oew9I0fGuGLlXMdCn2Ot9Lv_herHMnvZOYjjdOz2CAM,12324
|
28
|
+
google/genai/tunings.py,sha256=6rdzZwh15Ievj7pg6wA7JI1SkjIvORogeZBT9wr0FUM,48295
|
29
|
+
google/genai/types.py,sha256=23t4YZB1cLZBJ9iWOjF37Fm997ZtRBoTxAxLpTpDkE8,449073
|
30
|
+
google/genai/version.py,sha256=6p_TDljUWRMSW0wvtrkBQzXvlcWur4r3euI17pCmG1Q,627
|
31
|
+
google_genai-1.21.1.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
32
|
+
google_genai-1.21.1.dist-info/METADATA,sha256=T3WBq3x4T82dc8MUId1hSdJmO7EXtoilHqKPi5SVXYo,37123
|
33
|
+
google_genai-1.21.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
34
|
+
google_genai-1.21.1.dist-info/top_level.txt,sha256=_1QvSJIhFAGfxb79D6DhB7SUw2X6T4rwnz_LLrbcD3c,7
|
35
|
+
google_genai-1.21.1.dist-info/RECORD,,
|
@@ -1,35 +0,0 @@
|
|
1
|
-
google/genai/__init__.py,sha256=SYTxz3Ho06pP2TBlvDU0FkUJz8ytbR3MgEpS9HvVYq4,709
|
2
|
-
google/genai/_adapters.py,sha256=Kok38miNYJff2n--l0zEK_hbq0y2rWOH7k75J7SMYbQ,1744
|
3
|
-
google/genai/_api_client.py,sha256=hOwz6yhdKxWws2E62x-4_XwHeOhxZEOaru_Uh_OIeuU,48294
|
4
|
-
google/genai/_api_module.py,sha256=lj8eUWx8_LBGBz-49qz6_ywWm3GYp3d8Bg5JoOHbtbI,902
|
5
|
-
google/genai/_automatic_function_calling_util.py,sha256=IJkPq2fT9pYxYm5Pbu5-e0nBoZKoZla7yT4_txWRKLs,10324
|
6
|
-
google/genai/_base_url.py,sha256=E5H4dew14Y16qfnB3XRnjSCi19cJVlkaMNoM_8ip-PM,1597
|
7
|
-
google/genai/_common.py,sha256=tyzCssr2OIuiMfFjrv3wdegbKBbIPW2mXzLLykZcArQ,12098
|
8
|
-
google/genai/_extra_utils.py,sha256=_w8hB9Ag7giRR94nIOBJFTLiLEufulPXkCZpJG1XY5g,19241
|
9
|
-
google/genai/_live_converters.py,sha256=8J0h9JUdkwkPFugFBAW4EKTMkZATMDZWgNkc9WOh2Hg,115488
|
10
|
-
google/genai/_mcp_utils.py,sha256=khECx-DMuHemKzOQQ3msWp7FivPeEOnl3n1lvWc_b5o,3833
|
11
|
-
google/genai/_replay_api_client.py,sha256=XGnZIVlmkiQHTE9MLb0SQ8iNBNdsTodEHK93Vo8xQTA,21178
|
12
|
-
google/genai/_test_api_client.py,sha256=4ruFIy5_1qcbKqqIBu3HSQbpSOBrxiecBtDZaTGFR1s,4797
|
13
|
-
google/genai/_tokens_converters.py,sha256=IUmpIC7nKjZzp_azavxXgeML35nYSC0KRkCnGG0iZao,51477
|
14
|
-
google/genai/_transformers.py,sha256=Ii8u54Ni8388jU8OAei5sixZAmFP3o-OKbxomzBul4o,35557
|
15
|
-
google/genai/batches.py,sha256=BRKoRGl2nt8P4Hh7K_c9EWkOyOGUiWfaLJ2vlSsO-DE,34944
|
16
|
-
google/genai/caches.py,sha256=5xfb3OZrh11sWmMeMhPqxgeoytWzPhSQrkiD7DfGMRQ,68039
|
17
|
-
google/genai/chats.py,sha256=7HHrXidMqotYS8BJdFzV9Pdfmsuf3Np4-fedokoMcXQ,16759
|
18
|
-
google/genai/client.py,sha256=9AWoFL2g-OQFA4Zqpecg74b7h3i5Q9ZlXF4bFePV0zA,10759
|
19
|
-
google/genai/errors.py,sha256=UebysH1cDeIdtp1O06CW7lQjnNrWtuqZTeVgEJylX48,5589
|
20
|
-
google/genai/files.py,sha256=KTx3oNSS6yaMh77ofM-Rf7dE9ObzzvqlcQabkaME3Xg,39699
|
21
|
-
google/genai/live.py,sha256=ZpXHO7AFayOz2viISxs34rlG85dFH9qk-5-qOC9pcZE,39375
|
22
|
-
google/genai/live_music.py,sha256=lO-nDz2gEJ8bYesJC1Aru4IrsV7raEePf4sH3QQT6yI,7119
|
23
|
-
google/genai/models.py,sha256=FNUGjSWhgtrmNtyeG47TYZ6eiRtPS0gy7Smn4FkN0Cg,242724
|
24
|
-
google/genai/operations.py,sha256=LGM1D8jxrunT23CaK_q9daZce-g3VvIUkogeLKMrQPE,20305
|
25
|
-
google/genai/pagers.py,sha256=nyVYxp92rS-UaewO_oBgP593knofeLU6yOn6RolNoGQ,6797
|
26
|
-
google/genai/py.typed,sha256=RsMFoLwBkAvY05t6izop4UHZtqOPLiKp3GkIEizzmQY,40
|
27
|
-
google/genai/tokens.py,sha256=31HRdGkuN1VkHn21qKBwa6PeiLFGMN-aFldPIGo9WxE,12188
|
28
|
-
google/genai/tunings.py,sha256=pUqkNelsjhJGWvTwzoC1ofnigFjvdiRvZ4c1RiKqaLo,49501
|
29
|
-
google/genai/types.py,sha256=XO2A-0yZr8FUH_o3YhLj2u4WELuXFx1E5kFP42S1nPU,441994
|
30
|
-
google/genai/version.py,sha256=jjryM5ZRQXH3Cl7EdD5TFUVQWLcQ1IyGJJw_T1Pt56E,627
|
31
|
-
google_genai-1.20.0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
32
|
-
google_genai-1.20.0.dist-info/METADATA,sha256=IJGEFuj2U-i93YFGHILZGqTfjIiBllpAzxxfoFAeJ94,35652
|
33
|
-
google_genai-1.20.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
34
|
-
google_genai-1.20.0.dist-info/top_level.txt,sha256=_1QvSJIhFAGfxb79D6DhB7SUw2X6T4rwnz_LLrbcD3c,7
|
35
|
-
google_genai-1.20.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|