Skip to content

Commit 5edfcbb

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.557.1
1 parent 3f8fd5d commit 5edfcbb

File tree

562 files changed

+49638
-206
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

562 files changed

+49638
-206
lines changed

.speakeasy/gen.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 3e3290ca-0ee8-4981-b1bc-14536048fa63
33
management:
4-
docChecksum: 895c9d213122353173d7c129b2c8d4b7
4+
docChecksum: 1477738232aeb60aace8340880be72ae
55
docVersion: 0.9.0
6-
speakeasyVersion: 1.557.0
7-
generationVersion: 2.623.0
8-
releaseVersion: 0.6.3
9-
configChecksum: f4420151b362f554dd36cc2e52ba1688
6+
speakeasyVersion: 1.557.1
7+
generationVersion: 2.623.2
8+
releaseVersion: 0.6.4
9+
configChecksum: 97a162cbd1df1380dc8322bed97ec589
1010
repoURL: https://github.com/gleanwork/api-client-python.git
1111
installationURL: https://github.com/gleanwork/api-client-python.git
1212
published: true

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ generation:
2525
generateNewTests: true
2626
skipResponseBodyAssertions: true
2727
python:
28-
version: 0.6.3
28+
version: 0.6.4
2929
additionalDependencies:
3030
dev: {}
3131
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7259,6 +7259,9 @@ components:
72597259
applicationId:
72607260
type: string
72617261
description: The ID of the application this request originates from, used to determine the configuration of underlying chat processes. This should correspond to the ID set during admin setup. If not specified, the default chat experience will be used.
7262+
agentId:
7263+
type: string
7264+
description: The ID of the Agent that should process this chat request. Only Agents with trigger set to 'User chat message' are invokable through this API. If not specified, the default chat experience will be used.
72627265
stream:
72637266
type: boolean
72647267
description: If set, response lines will be streamed one-by-one as they become available. Each will be a ChatResponse, formatted as JSON, and separated by a new line. If false, the entire response will be returned at once. Note that if this is set and the model being used does not support streaming, the model's response will not be streamed, but other messages from the endpoint still will be.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.557.0
1+
speakeasyVersion: 1.557.1
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:d7ce1ceb600711b8e88b818186b93b6e4275f01811996d436752410c100339a4
6-
sourceBlobDigest: sha256:e56c126a42ae3d72395b2891ac56b8f5264993a298d9d4f5e68748395cdd54cf
5+
sourceRevisionDigest: sha256:254ed74184de2e725a0dc2cf521b132b29ece9d3ba6b12fd7e7b1ceaa2e6d043
6+
sourceBlobDigest: sha256:f2a59d8beefedbda0e59b25d09a930e1b907145f784bf8961fc31b862163d964
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1749247136
9+
- speakeasy-sdk-regen-1749454024
1010
Glean Client API:
1111
sourceNamespace: glean-client-api
1212
sourceRevisionDigest: sha256:4edc63ad559e4f2c9fb9ebf5edaaaaa9269f1874d271cfd84b441d6dacac43d2
@@ -17,10 +17,10 @@ targets:
1717
glean:
1818
source: Glean API
1919
sourceNamespace: glean-api-specs
20-
sourceRevisionDigest: sha256:d7ce1ceb600711b8e88b818186b93b6e4275f01811996d436752410c100339a4
21-
sourceBlobDigest: sha256:e56c126a42ae3d72395b2891ac56b8f5264993a298d9d4f5e68748395cdd54cf
20+
sourceRevisionDigest: sha256:254ed74184de2e725a0dc2cf521b132b29ece9d3ba6b12fd7e7b1ceaa2e6d043
21+
sourceBlobDigest: sha256:f2a59d8beefedbda0e59b25d09a930e1b907145f784bf8961fc31b862163d964
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:616f210191e4d9c7270884cda5aee3e53caa4a3c1eba93997f725bdd345eed8c
23+
codeSamplesRevisionDigest: sha256:bd2c8dd3d421bb8899be6f133e8dcd287ceaeb9e7022ad1b5f3415d7b335c1ab
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Generally, the SDK will work well with most IDEs out of the box. However, when u
135135

136136
```python
137137
# Synchronous Example
138-
from glean.api_client import Glean, models
138+
from glean import Glean, models
139139
import os
140140

141141

@@ -163,7 +163,7 @@ The same SDK client can also be used to make asychronous requests by importing a
163163
```python
164164
# Asynchronous Example
165165
import asyncio
166-
from glean.api_client import Glean, models
166+
from glean import Glean, models
167167
import os
168168

169169
async def main():
@@ -192,7 +192,7 @@ asyncio.run(main())
192192

193193
```python
194194
# Synchronous Example
195-
from glean.api_client import Glean, models
195+
from glean import Glean, models
196196
import os
197197

198198

@@ -220,7 +220,7 @@ The same SDK client can also be used to make asychronous requests by importing a
220220
```python
221221
# Asynchronous Example
222222
import asyncio
223-
from glean.api_client import Glean, models
223+
from glean import Glean, models
224224
import os
225225

226226
async def main():
@@ -259,8 +259,8 @@ This SDK supports the following security scheme globally:
259259

260260
To authenticate with the API the `api_token` parameter must be set when initializing the SDK client instance. For example:
261261
```python
262-
from glean.api_client import Glean, models
263-
from glean.api_client.utils import parse_datetime
262+
from glean import Glean, models
263+
from glean.utils import parse_datetime
264264
import os
265265

266266

@@ -541,8 +541,8 @@ Some of the endpoints in this SDK support retries. If you use the SDK without an
541541

542542
To change the default retry strategy for a single API call, simply provide a `RetryConfig` object to the call:
543543
```python
544-
from glean.api_client import Glean, models
545-
from glean.api_client.utils import BackoffStrategy, RetryConfig, parse_datetime
544+
from glean import Glean, models
545+
from glean.utils import BackoffStrategy, RetryConfig, parse_datetime
546546
import os
547547

548548

@@ -582,8 +582,8 @@ with Glean(
582582

583583
If you'd like to override the default retry strategy for all operations that support retries, you can use the `retry_config` optional parameter when initializing the SDK:
584584
```python
585-
from glean.api_client import Glean, models
586-
from glean.api_client.utils import BackoffStrategy, RetryConfig, parse_datetime
585+
from glean import Glean, models
586+
from glean.utils import BackoffStrategy, RetryConfig, parse_datetime
587587
import os
588588

589589

@@ -720,8 +720,8 @@ The default server `https://{instance}-be.glean.com` contains variables and is s
720720
#### Example
721721

722722
```python
723-
from glean.api_client import Glean, models
724-
from glean.api_client.utils import parse_datetime
723+
from glean import Glean, models
724+
from glean.utils import parse_datetime
725725
import os
726726

727727

@@ -763,8 +763,8 @@ with Glean(
763763

764764
The default server can be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example:
765765
```python
766-
from glean.api_client import Glean, models
767-
from glean.api_client.utils import parse_datetime
766+
from glean import Glean, models
767+
from glean.utils import parse_datetime
768768
import os
769769

770770

@@ -812,7 +812,7 @@ This allows you to wrap the client with your own custom logic, such as adding cu
812812

813813
For example, you could specify a header for every request that this sdk makes as follows:
814814
```python
815-
from glean.api_client import Glean
815+
from glean import Glean
816816
import httpx
817817

818818
http_client = httpx.Client(headers={"x-custom-header": "someValue"})
@@ -821,8 +821,8 @@ s = Glean(client=http_client)
821821

822822
or you could wrap the client with your own custom logic:
823823
```python
824-
from glean.api_client import Glean
825-
from glean.api_client.httpclient import AsyncHttpClient
824+
from glean import Glean
825+
from glean.httpclient import AsyncHttpClient
826826
import httpx
827827

828828
class CustomClient(AsyncHttpClient):
@@ -892,7 +892,7 @@ The `Glean` class implements the context manager protocol and registers a finali
892892
[context-manager]: https://docs.python.org/3/reference/datamodel.html#context-managers
893893

894894
```python
895-
from glean.api_client import Glean
895+
from glean import Glean
896896
import os
897897
def main():
898898

@@ -919,7 +919,7 @@ You can setup your SDK to emit debug logs for SDK requests and responses.
919919

920920
You can pass your own logger class directly into your SDK.
921921
```python
922-
from glean.api_client import Glean
922+
from glean import Glean
923923
import logging
924924

925925
logging.basicConfig(level=logging.DEBUG)

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,14 @@ Based on:
138138
### Generated
139139
- [python v0.6.3] .
140140
### Releases
141-
- [PyPI v0.6.3] https://pypi.org/project/glean/0.6.3 - .
141+
- [PyPI v0.6.3] https://pypi.org/project/glean/0.6.3 - .
142+
143+
## 2025-06-09 07:26:40
144+
### Changes
145+
Based on:
146+
- OpenAPI Doc
147+
- Speakeasy CLI 1.557.1 (2.623.2) https://github.com/speakeasy-api/speakeasy
148+
### Generated
149+
- [python v0.6.4] .
150+
### Releases
151+
- [PyPI v0.6.4] https://pypi.org/project/glean/0.6.4 - .

USAGE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- Start SDK Example Usage [usage] -->
22
```python
33
# Synchronous Example
4-
from glean.api_client import Glean, models
4+
from glean import Glean, models
55
import os
66

77

@@ -29,7 +29,7 @@ The same SDK client can also be used to make asychronous requests by importing a
2929
```python
3030
# Asynchronous Example
3131
import asyncio
32-
from glean.api_client import Glean, models
32+
from glean import Glean, models
3333
import os
3434

3535
async def main():
@@ -56,7 +56,7 @@ asyncio.run(main())
5656

5757
```python
5858
# Synchronous Example
59-
from glean.api_client import Glean, models
59+
from glean import Glean, models
6060
import os
6161

6262

@@ -84,7 +84,7 @@ The same SDK client can also be used to make asychronous requests by importing a
8484
```python
8585
# Asynchronous Example
8686
import asyncio
87-
from glean.api_client import Glean, models
87+
from glean import Glean, models
8888
import os
8989

9090
async def main():

docs/models/chatrequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@
1414
| `timeout_millis` | *Optional[int]* | :heavy_minus_sign: | Timeout in milliseconds for the request. A `408` error will be returned if handling the request takes longer. | 30000 |
1515
| `session_info` | [Optional[models.SessionInfo]](../models/sessioninfo.md) | :heavy_minus_sign: | N/A | |
1616
| `application_id` | *Optional[str]* | :heavy_minus_sign: | The ID of the application this request originates from, used to determine the configuration of underlying chat processes. This should correspond to the ID set during admin setup. If not specified, the default chat experience will be used. | |
17+
| `agent_id` | *Optional[str]* | :heavy_minus_sign: | The ID of the Agent that should process this chat request. Only Agents with trigger set to 'User chat message' are invokable through this API. If not specified, the default chat experience will be used. | |
1718
| `stream` | *Optional[bool]* | :heavy_minus_sign: | If set, response lines will be streamed one-by-one as they become available. Each will be a ChatResponse, formatted as JSON, and separated by a new line. If false, the entire response will be returned at once. Note that if this is set and the model being used does not support streaming, the model's response will not be streamed, but other messages from the endpoint still will be. | |

docs/sdks/agents/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Returns details of an [agent](https://developers.glean.com/agents/agents-api) cr
1818
### Example Usage
1919

2020
```python
21-
from glean.api_client import Glean
21+
from glean import Glean
2222
import os
2323

2424

@@ -58,7 +58,7 @@ Return [agent](https://developers.glean.com/agents/agents-api)'s input and outpu
5858
### Example Usage
5959

6060
```python
61-
from glean.api_client import Glean
61+
from glean import Glean
6262
import os
6363

6464

@@ -98,7 +98,7 @@ Search for [agents](https://developers.glean.com/agents/agents-api) by agent nam
9898
### Example Usage
9999

100100
```python
101-
from glean.api_client import Glean
101+
from glean import Glean
102102
import os
103103

104104

@@ -137,7 +137,7 @@ Executes an [agent](https://developers.glean.com/agents/agents-api) run and retu
137137
### Example Usage
138138

139139
```python
140-
from glean.api_client import Glean
140+
from glean import Glean
141141
import os
142142

143143

@@ -178,7 +178,7 @@ Executes an [agent](https://developers.glean.com/agents/agents-api) run and retu
178178
### Example Usage
179179

180180
```python
181-
from glean.api_client import Glean
181+
from glean import Glean
182182
import os
183183

184184

0 commit comments

Comments
 (0)