Skip to content

Commit ba502be

Browse files
Merge pull request #33 from gleanwork/speakeasy-sdk-regen-1748993191
chore: 🐝 Update SDK - Generate 0.6.1
2 parents 547796b + e109cb2 commit ba502be

Some content is hidden

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

42 files changed

+514
-524
lines changed

.speakeasy/gen.lock

Lines changed: 38 additions & 34 deletions
Large diffs are not rendered by default.

.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.0
28+
version: 0.6.1
2929
additionalDependencies:
3030
dev: {}
3131
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7511,6 +7511,8 @@ components:
75117511
AgentRunCreate:
75127512
description: Payload for creating a run.
75137513
type: object
7514+
required:
7515+
- agent_id
75147516
properties:
75157517
agent_id:
75167518
type: string

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.554.1
1+
speakeasyVersion: 1.555.2
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:3396ede63b0d0938d88f4b76b69092782a3d585f5c9e42bc69c607641443d427
6-
sourceBlobDigest: sha256:490084863e541d217246ad7a409dfb2b73ffd1f13bae9685c5f623c0fdc3175c
5+
sourceRevisionDigest: sha256:8fa342ea4c0f50e32d7b0930df581e4f4ec000f1f36a429c40f6ccc3f72c0b6b
6+
sourceBlobDigest: sha256:914ea4a50d56c4ac1ef7a111f11756bfd8c21bd1c652b817b729ca8706a0afc7
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1748396490
9+
- speakeasy-sdk-regen-1748993191
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:3396ede63b0d0938d88f4b76b69092782a3d585f5c9e42bc69c607641443d427
21-
sourceBlobDigest: sha256:490084863e541d217246ad7a409dfb2b73ffd1f13bae9685c5f623c0fdc3175c
20+
sourceRevisionDigest: sha256:8fa342ea4c0f50e32d7b0930df581e4f4ec000f1f36a429c40f6ccc3f72c0b6b
21+
sourceBlobDigest: sha256:914ea4a50d56c4ac1ef7a111f11756bfd8c21bd1c652b817b729ca8706a0afc7
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:63af6d316a76a6ac296df7db15ec3c116ae02f65042e3ba96be403a14fb09e3f
23+
codeSamplesRevisionDigest: sha256:74861ef8ca5de61f14037c5c7aa54891c396b1d198d3e180f03ade0523a40d74
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,14 @@ Based on:
108108
### Generated
109109
- [python v0.6.0] .
110110
### Releases
111-
- [PyPI v0.6.0] https://pypi.org/project/glean/0.6.0 - .
111+
- [PyPI v0.6.0] https://pypi.org/project/glean/0.6.0 - .
112+
113+
## 2025-06-03 23:26:09
114+
### Changes
115+
Based on:
116+
- OpenAPI Doc
117+
- Speakeasy CLI 1.555.2 (2.620.2) https://github.com/speakeasy-api/speakeasy
118+
### Generated
119+
- [python v0.6.1] .
120+
### Releases
121+
- [PyPI v0.6.1] https://pypi.org/project/glean/0.6.1 - .

docs/models/agentrun.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Payload for creating a run.
77

88
| Field | Type | Required | Description |
99
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
10-
| `agent_id` | *Optional[str]* | :heavy_minus_sign: | The ID of the agent to run. |
10+
| `agent_id` | *str* | :heavy_check_mark: | The ID of the agent to run. |
1111
| `input` | Dict[str, *Any*] | :heavy_minus_sign: | The input to the agent. |
1212
| `messages` | List[[models.Message](../models/message.md)] | :heavy_minus_sign: | The messages to pass an input to the agent. |
1313
| `status` | [Optional[models.AgentExecutionStatus]](../models/agentexecutionstatus.md) | :heavy_minus_sign: | The status of the run. One of 'error', 'success'. |

docs/models/agentruncreate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ Payload for creating a run.
77

88
| Field | Type | Required | Description |
99
| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- |
10-
| `agent_id` | *Optional[str]* | :heavy_minus_sign: | The ID of the agent to run. |
10+
| `agent_id` | *str* | :heavy_check_mark: | The ID of the agent to run. |
1111
| `input` | Dict[str, *Any*] | :heavy_minus_sign: | The input to the agent. |
1212
| `messages` | List[[models.Message](../models/message.md)] | :heavy_minus_sign: | The messages to pass an input to the agent. |

docs/sdks/agents/README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ with Glean(
145145
api_token=os.getenv("GLEAN_API_TOKEN", ""),
146146
) as g_client:
147147

148-
res = g_client.client.agents.run_stream()
148+
res = g_client.client.agents.run_stream(agent_id="<id>")
149149

150150
# Handle response
151151
print(res)
@@ -156,7 +156,9 @@ with Glean(
156156

157157
| Parameter | Type | Required | Description |
158158
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- |
159-
| `request` | [models.AgentRunCreate](../../models/agentruncreate.md) | :heavy_check_mark: | The request object to use for the request. |
159+
| `agent_id` | *str* | :heavy_check_mark: | The ID of the agent to run. |
160+
| `input` | Dict[str, *Any*] | :heavy_minus_sign: | The input to the agent. |
161+
| `messages` | List[[models.Message](../../models/message.md)] | :heavy_minus_sign: | The messages to pass an input to the agent. |
160162
| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
161163

162164
### Response
@@ -184,7 +186,7 @@ with Glean(
184186
api_token=os.getenv("GLEAN_API_TOKEN", ""),
185187
) as g_client:
186188

187-
res = g_client.client.agents.run()
189+
res = g_client.client.agents.run(agent_id="<id>")
188190

189191
# Handle response
190192
print(res)
@@ -195,7 +197,9 @@ with Glean(
195197

196198
| Parameter | Type | Required | Description |
197199
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- |
198-
| `request` | [models.AgentRunCreate](../../models/agentruncreate.md) | :heavy_check_mark: | The request object to use for the request. |
200+
| `agent_id` | *str* | :heavy_check_mark: | The ID of the agent to run. |
201+
| `input` | Dict[str, *Any*] | :heavy_minus_sign: | The input to the agent. |
202+
| `messages` | List[[models.Message](../../models/message.md)] | :heavy_minus_sign: | The messages to pass an input to the agent. |
199203
| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
200204

201205
### Response

docs/sdks/datasources/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ with Glean(
2323
api_token=os.getenv("GLEAN_API_TOKEN", ""),
2424
) as g_client:
2525

26-
g_client.indexing.datasources.add(name="<value>", url_regex="https://example-company.datasource.com/.*", quicklinks=[
26+
g_client.indexing.datasources.add(name="<value>", datasource_category=models.DatasourceCategory.UNCATEGORIZED, url_regex="https://example-company.datasource.com/.*", quicklinks=[
2727
{
2828
"icon_config": {
2929
"color": "#343CED",
@@ -32,7 +32,7 @@ with Glean(
3232
"name": "user",
3333
},
3434
},
35-
])
35+
], trust_url_regex_for_view_activity=True, strip_fragment_in_canonical_url=True, is_entity_datasource=False, is_test_datasource=False)
3636

3737
# Use the SDK ...
3838

0 commit comments

Comments
 (0)