Skip to content

chore: 🐝 Update SDK - Generate 0.6.1 #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 38 additions & 34 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
python:
version: 0.6.0
version: 0.6.1
additionalDependencies:
dev: {}
main: {}
Expand Down
2 changes: 2 additions & 0 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7511,6 +7511,8 @@ components:
AgentRunCreate:
description: Payload for creating a run.
type: object
required:
- agent_id
properties:
agent_id:
type: string
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
speakeasyVersion: 1.554.1
speakeasyVersion: 1.555.2
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:3396ede63b0d0938d88f4b76b69092782a3d585f5c9e42bc69c607641443d427
sourceBlobDigest: sha256:490084863e541d217246ad7a409dfb2b73ffd1f13bae9685c5f623c0fdc3175c
sourceRevisionDigest: sha256:8fa342ea4c0f50e32d7b0930df581e4f4ec000f1f36a429c40f6ccc3f72c0b6b
sourceBlobDigest: sha256:914ea4a50d56c4ac1ef7a111f11756bfd8c21bd1c652b817b729ca8706a0afc7
tags:
- latest
- speakeasy-sdk-regen-1748396490
- speakeasy-sdk-regen-1748993191
Glean Client API:
sourceNamespace: glean-client-api
sourceRevisionDigest: sha256:4edc63ad559e4f2c9fb9ebf5edaaaaa9269f1874d271cfd84b441d6dacac43d2
Expand All @@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:3396ede63b0d0938d88f4b76b69092782a3d585f5c9e42bc69c607641443d427
sourceBlobDigest: sha256:490084863e541d217246ad7a409dfb2b73ffd1f13bae9685c5f623c0fdc3175c
sourceRevisionDigest: sha256:8fa342ea4c0f50e32d7b0930df581e4f4ec000f1f36a429c40f6ccc3f72c0b6b
sourceBlobDigest: sha256:914ea4a50d56c4ac1ef7a111f11756bfd8c21bd1c652b817b729ca8706a0afc7
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:63af6d316a76a6ac296df7db15ec3c116ae02f65042e3ba96be403a14fb09e3f
codeSamplesRevisionDigest: sha256:74861ef8ca5de61f14037c5c7aa54891c396b1d198d3e180f03ade0523a40d74
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,14 @@ Based on:
### Generated
- [python v0.6.0] .
### Releases
- [PyPI v0.6.0] https://pypi.org/project/glean/0.6.0 - .
- [PyPI v0.6.0] https://pypi.org/project/glean/0.6.0 - .

## 2025-06-03 23:26:09
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.555.2 (2.620.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.6.1] .
### Releases
- [PyPI v0.6.1] https://pypi.org/project/glean/0.6.1 - .
2 changes: 1 addition & 1 deletion docs/models/agentrun.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Payload for creating a run.

| Field | Type | Required | Description |
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| `agent_id` | *Optional[str]* | :heavy_minus_sign: | The ID of the agent to run. |
| `agent_id` | *str* | :heavy_check_mark: | The ID of the agent to run. |
| `input` | Dict[str, *Any*] | :heavy_minus_sign: | The input to the agent. |
| `messages` | List[[models.Message](../models/message.md)] | :heavy_minus_sign: | The messages to pass an input to the agent. |
| `status` | [Optional[models.AgentExecutionStatus]](../models/agentexecutionstatus.md) | :heavy_minus_sign: | The status of the run. One of 'error', 'success'. |
2 changes: 1 addition & 1 deletion docs/models/agentruncreate.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ Payload for creating a run.

| Field | Type | Required | Description |
| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- |
| `agent_id` | *Optional[str]* | :heavy_minus_sign: | The ID of the agent to run. |
| `agent_id` | *str* | :heavy_check_mark: | The ID of the agent to run. |
| `input` | Dict[str, *Any*] | :heavy_minus_sign: | The input to the agent. |
| `messages` | List[[models.Message](../models/message.md)] | :heavy_minus_sign: | The messages to pass an input to the agent. |
12 changes: 8 additions & 4 deletions docs/sdks/agents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ with Glean(
api_token=os.getenv("GLEAN_API_TOKEN", ""),
) as g_client:

res = g_client.client.agents.run_stream()
res = g_client.client.agents.run_stream(agent_id="<id>")

# Handle response
print(res)
Expand All @@ -156,7 +156,9 @@ with Glean(

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

### Response
Expand Down Expand Up @@ -184,7 +186,7 @@ with Glean(
api_token=os.getenv("GLEAN_API_TOKEN", ""),
) as g_client:

res = g_client.client.agents.run()
res = g_client.client.agents.run(agent_id="<id>")

# Handle response
print(res)
Expand All @@ -195,7 +197,9 @@ with Glean(

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

### Response
Expand Down
4 changes: 2 additions & 2 deletions docs/sdks/datasources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ with Glean(
api_token=os.getenv("GLEAN_API_TOKEN", ""),
) as g_client:

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

# Use the SDK ...

Expand Down
Loading