Skip to content

Commit fd925ad

Browse files
Merge pull request #110 from gleanwork/speakeasy-sdk-regen-1770409581
chore: 🐝 Update SDK - Generate 0.12.2
2 parents 7d1690d + 0a4afc5 commit fd925ad

File tree

17 files changed

+289
-114
lines changed

17 files changed

+289
-114
lines changed

.speakeasy/gen.lock

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
lockVersion: 2.0.0
22
id: 3e3290ca-0ee8-4981-b1bc-14536048fa63
33
management:
4-
docChecksum: 9f934db728af8f9aaaa1df7eb9781bff
4+
docChecksum: aee950fecf1c657983edfc4e58e7b866
55
docVersion: 0.9.0
6-
speakeasyVersion: 1.706.1
7-
generationVersion: 2.809.2
8-
releaseVersion: 0.12.1
9-
configChecksum: 445d4c451e5ec0817b996f7782217353
6+
speakeasyVersion: 1.708.0
7+
generationVersion: 2.811.2
8+
releaseVersion: 0.12.2
9+
configChecksum: abe193f4f2a2796c5686ddf95338ac1e
1010
repoURL: https://github.com/gleanwork/api-client-python.git
1111
installationURL: https://github.com/gleanwork/api-client-python.git
1212
published: true
1313
persistentEdits:
14-
generation_id: 570b69de-0a85-488e-8d00-41c4dc3591c8
15-
pristine_commit_hash: f9fa6f4a12ab8af9007b75d6c64504c5b7e710d8
16-
pristine_tree_hash: b8fa5b8be2db0ea4757e7500875fea78a4b61b80
14+
generation_id: c9318d9f-dc47-48aa-b7d4-cd62a9fc6cc2
15+
pristine_commit_hash: 9ed5b0473e198394f740d8fd5bc438b6f9bc9f91
16+
pristine_tree_hash: bcad196dc5edb7d2846ec11818628eaf3c1701d3
1717
features:
1818
python:
1919
additionalDependencies: 1.0.0
2020
additionalProperties: 1.0.1
2121
configurableModuleName: 0.2.0
2222
constsAndDefaults: 1.0.6
23-
core: 6.0.3
23+
core: 6.0.4
2424
defaultEnabledRetries: 0.2.0
2525
deprecations: 3.0.2
2626
devContainers: 3.0.0
@@ -155,12 +155,12 @@ trackedFiles:
155155
pristine_git_object: aec0cc1eec7dad413ec698c535c010e6be756a69
156156
docs/models/agentrun.md:
157157
id: 71e2caf9b95a
158-
last_write_checksum: sha1:e78aeb4eff73bf8d90878933b0325e72ed43e72a
159-
pristine_git_object: ba0e0f9a25efd7f050da4c76e9bc2c2db66593ea
158+
last_write_checksum: sha1:8433dcf487a90f703f04b766383a08b5c0c933b3
159+
pristine_git_object: 534e93714734fd41fabc0d64b5da344b2dda110d
160160
docs/models/agentruncreate.md:
161161
id: 2ab11e93c9de
162-
last_write_checksum: sha1:0bb40ce69125ac4d6240e600001c0ed360a981a8
163-
pristine_git_object: 8c52882a75a63a52fcf9ac9d2db0e124ec10bef9
162+
last_write_checksum: sha1:5f6d67b0cf39049f4ead7eecec6a27f3d2862cba
163+
pristine_git_object: 46d31de6280f25734883618e5ac037cb623e6eda
164164
docs/models/agentrunwaitresponse.md:
165165
id: 2c571dee53ea
166166
last_write_checksum: sha1:a9d9e9928a5629f4c75364315f312801f06c51b7
@@ -2595,8 +2595,8 @@ trackedFiles:
25952595
pristine_git_object: 61dd41f0319201cc105e29174ab1cc0018cecbce
25962596
docs/sdks/agents/README.md:
25972597
id: 5965d8232fd8
2598-
last_write_checksum: sha1:3c2847fb0fe040b14096cfd686aca2a59c7b830f
2599-
pristine_git_object: cf7b08733e52531179777a0c85f1e95365741502
2598+
last_write_checksum: sha1:ac437d9707a34794688d275ba9b9daad024f0410
2599+
pristine_git_object: bf4a2db8f086430f20eb25bf3cc7652b3a4bcef6
26002600
docs/sdks/announcements/README.md:
26012601
id: 3d2e130a217c
26022602
last_write_checksum: sha1:ecfa655bb27dee6890656542cfafda0aa6ed1ab9
@@ -2615,8 +2615,8 @@ trackedFiles:
26152615
pristine_git_object: b9a4856d52e9c48fb4917c0052bf86be2ad9cd0e
26162616
docs/sdks/clientchat/README.md:
26172617
id: baf998e3d238
2618-
last_write_checksum: sha1:a80438d3ef8f0fff87e0e39956030f05d3bc8a2c
2619-
pristine_git_object: c3c363b487f49d552c6e5322bbe243603ff2c993
2618+
last_write_checksum: sha1:0c7abf8ce4c4d4767f38f24eea295e728ed9a254
2619+
pristine_git_object: 07bed0f457fb3b70139c553172ef54becca7fdcb
26202620
docs/sdks/clientdocuments/README.md:
26212621
id: e0c074acef4e
26222622
last_write_checksum: sha1:ef34fa1517c866b9ae0fdb50847031421f26ea0b
@@ -2715,8 +2715,8 @@ trackedFiles:
27152715
pristine_git_object: 33c17ec92e441b6c363a28a5b7319df5a2ad94dd
27162716
pyproject.toml:
27172717
id: 5d07e7d72637
2718-
last_write_checksum: sha1:e9db932bb828d9c1245edec14224a5690a80b7a3
2719-
pristine_git_object: 2a56a22494af43f01d8902bd6a0f498dd23f305f
2718+
last_write_checksum: sha1:7dc5cd0785a78e264621f6d62588527e5a09f7ca
2719+
pristine_git_object: 090c699ac2a8aa2d284ada6cbb1118b82a03d6c3
27202720
scripts/prepare_readme.py:
27212721
id: e0c5957a6035
27222722
last_write_checksum: sha1:c2c83f71dea61eb50c9e05da83b16d18b4da8794
@@ -2743,12 +2743,12 @@ trackedFiles:
27432743
pristine_git_object: 58c4d70ac1797b86ff5c4237cafbc344c42d8f64
27442744
src/glean/api_client/_version.py:
27452745
id: 0ce22b26136b
2746-
last_write_checksum: sha1:a666730776e1ff328b50bac5dcffef7f4c9045a2
2747-
pristine_git_object: e2b72bf755902fbb0842635724ecb14ab9cca446
2746+
last_write_checksum: sha1:338def8b7d9f4275dea092a43013e6f33dc201df
2747+
pristine_git_object: 93b0bbc77a52bc1e9466738aeedb908a1ce01196
27482748
src/glean/api_client/agents.py:
27492749
id: b925701a9217
2750-
last_write_checksum: sha1:35034b44db8e95826ceb314f3a59eeb8961fd419
2751-
pristine_git_object: 1ada812a83100cb15fa6ff745090f76f1e58250f
2750+
last_write_checksum: sha1:c1688c3d141db7707458f3ac7ff29c4a71e6812b
2751+
pristine_git_object: e83595d0b12f20855f2e75dae207c28168c0f25c
27522752
src/glean/api_client/announcements.py:
27532753
id: 452f3d593912
27542754
last_write_checksum: sha1:f46bdf97d06f038b579907fdb879a65bc995d326
@@ -2939,12 +2939,12 @@ trackedFiles:
29392939
pristine_git_object: fa71fb35d11dede8cb81dbfc83f7ec2fa2ea52d0
29402940
src/glean/api_client/models/agentrun.py:
29412941
id: b808ffdaa4d9
2942-
last_write_checksum: sha1:4e9d703fc46bddfe9a2a571412242efd59b97390
2943-
pristine_git_object: 69d2ea1886f5113e2fdf5c05b334ea32bd9e9c5e
2942+
last_write_checksum: sha1:69120d4a77c7f4670973a7e41af55b4ea2af1f8b
2943+
pristine_git_object: 4c519b560d3fffcab870f148df81060487beb16f
29442944
src/glean/api_client/models/agentruncreate.py:
29452945
id: e987c7a76285
2946-
last_write_checksum: sha1:c14079d3e754e811bd80b76ebd071c918f88f91c
2947-
pristine_git_object: df2aa824479c52f2f263f4b88a004a0125eccc75
2946+
last_write_checksum: sha1:d02fda45ed106de951c65f67dbc23110223e66ee
2947+
pristine_git_object: 496807b00439dc1486393dd942b21194707d2887
29482948
src/glean/api_client/models/agentrunwaitresponse.py:
29492949
id: 063b87daf535
29502950
last_write_checksum: sha1:a8afa7c0621527c4b83cc59ac61b6a0973f86181
@@ -5098,7 +5098,7 @@ trackedFiles:
50985098
tests/mockserver/internal/handler/pathpostrestapiv1createauthtoken.go:
50995099
last_write_checksum: sha1:6ce83ba03066acb436796c018d19715615f548c1
51005100
tests/mockserver/internal/handler/pathpostrestapiv1createcollection.go:
5101-
last_write_checksum: sha1:14b4a1d98dd55ce2b487ae1aaab4a7dece08df25
5101+
last_write_checksum: sha1:f9f4c718408bddadbdf826194f07970bb111e57e
51025102
tests/mockserver/internal/handler/pathpostrestapiv1createshortcut.go:
51035103
last_write_checksum: sha1:dcdf684a85e20db1aee571db9a54a3ee259d71d5
51045104
tests/mockserver/internal/handler/pathpostrestapiv1deleteallchats.go:
@@ -5226,9 +5226,9 @@ trackedFiles:
52265226
tests/mockserver/internal/sdk/models/components/agentexecutionstatus.go:
52275227
last_write_checksum: sha1:ef904e3fd25fd902d355e88115d0721dfecab4f8
52285228
tests/mockserver/internal/sdk/models/components/agentrun.go:
5229-
last_write_checksum: sha1:87a03588cdf4095a565a7e1bcb47f5772bb66588
5229+
last_write_checksum: sha1:a69cc58ceadc947b1e9dd587f9d936ef9aa266eb
52305230
tests/mockserver/internal/sdk/models/components/agentruncreate.go:
5231-
last_write_checksum: sha1:ef0c3d64cb27df6aec71357de2952a2f5ad373f2
5231+
last_write_checksum: sha1:b6d18d560f9137f1603b59692f73da586eaed80d
52325232
tests/mockserver/internal/sdk/models/components/agentrunwaitresponse.go:
52335233
last_write_checksum: sha1:75b0a516ab1c183abeeb9e27abc8a00f265f32ad
52345234
tests/mockserver/internal/sdk/models/components/agentschemas.go:

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ generation:
3333
generateNewTests: true
3434
skipResponseBodyAssertions: true
3535
python:
36-
version: 0.12.1
36+
version: 0.12.2
3737
additionalDependencies:
3838
dev: {}
3939
main: {}
@@ -57,6 +57,7 @@ python:
5757
flattenGlobalSecurity: true
5858
flattenRequests: true
5959
flatteningOrder: parameters-first
60+
forwardCompatibleEnumsByDefault: false
6061
imports:
6162
option: openapi
6263
paths:

.speakeasy/glean-merged-spec.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.0
22
info:
33
version: 0.9.0
44
title: Glean API
5-
x-source-commit-sha: 9e30d574b26af5aea9f343b173a4c04a4d6bd044
5+
x-source-commit-sha: 2a745f932cc47169f6ceb0e7b3e9869d02726cea
66
description: |
77
# Introduction
88
In addition to the data sources that Glean has built-in support for, Glean also provides a REST API that enables customers to put arbitrary content in the search index. This is useful, for example, for doing permissions-aware search over content in internal tools that reside on-prem as well as for searching over applications that Glean does not currently support first class. In addition these APIs allow the customer to push organization data (people info, organization structure etc) into Glean.
@@ -22,7 +22,7 @@ info:
2222
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
2323
x-logo:
2424
url: https://app.glean.com/images/glean-text2.svg
25-
x-open-api-commit-sha: e9deba03749240dbb9c0ba9d110e15591825b6ab
25+
x-open-api-commit-sha: c9207631abff9271cdd02433399797f6ee15e063
2626
x-speakeasy-name: 'Glean API'
2727
servers:
2828
- url: https://{instance}-be.glean.com
@@ -915,7 +915,7 @@ paths:
915915
tags:
916916
- Agents
917917
summary: Create an agent run and stream the response
918-
description: Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the result as a stream of server-sent events (SSE).
918+
description: "Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the result as a stream of server-sent events (SSE). **Note**: If the agent uses an input form trigger, all form fields (including optional fields) must be included in the `input` object."
919919
operationId: createAndStreamRun
920920
x-visibility: Preview
921921
requestBody:
@@ -979,7 +979,7 @@ paths:
979979
tags:
980980
- Agents
981981
summary: Create an agent run and wait for the response
982-
description: Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the final response.
982+
description: "Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the final response. **Note**: If the agent uses an input form trigger, all form fields (including optional fields) must be included in the `input` object."
983983
operationId: createAndWaitRun
984984
x-visibility: Preview
985985
requestBody:
@@ -8039,7 +8039,7 @@ components:
80398039
- type
80408040
title: MessageTextBlock
80418041
AgentRunCreate:
8042-
description: Payload for creating a run.
8042+
description: "Payload for creating a run. **Important**: If the agent uses an input form trigger, the `input` field is required and must include all fields defined in the form schema. Even fields marked as optional in the UI must be included in the request—use an empty string (`\"\"`) for optional fields without values. Omitting required form fields will result in a 500 error."
80438043
type: object
80448044
required:
80458045
- agent_id
@@ -8051,7 +8051,7 @@ components:
80518051
input:
80528052
type: object
80538053
title: Input
8054-
description: The input to the agent.
8054+
description: The input to the agent. Required when the agent uses an input form trigger.
80558055
additionalProperties: true
80568056
messages:
80578057
type: array

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.706.1
1+
speakeasyVersion: 1.708.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:047cdb5efd8f47a217d3958b57af6078f3c4d4f1ba43862f16e7760f1f16ae6d
6-
sourceBlobDigest: sha256:ac6385a48d08a34b59f5cb164fa7200e328754ed3260692a0c0d044a7499c7db
5+
sourceRevisionDigest: sha256:a46c82fb26193f4747e1b7eca5ddf4cd77edbb57c9828a17c45e2b1f5fc02f4e
6+
sourceBlobDigest: sha256:ba6a37b98073179a44805ba67125e23e907ddc0a6ca4c409ff48c53c399495d2
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1770336010
9+
- speakeasy-sdk-regen-1770409581
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:047cdb5efd8f47a217d3958b57af6078f3c4d4f1ba43862f16e7760f1f16ae6d
21-
sourceBlobDigest: sha256:ac6385a48d08a34b59f5cb164fa7200e328754ed3260692a0c0d044a7499c7db
20+
sourceRevisionDigest: sha256:a46c82fb26193f4747e1b7eca5ddf4cd77edbb57c9828a17c45e2b1f5fc02f4e
21+
sourceBlobDigest: sha256:ba6a37b98073179a44805ba67125e23e907ddc0a6ca4c409ff48c53c399495d2
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:b30002ad3742a0457ea1d3e7826c76600292705f16984c137abf8e8691ff1528
23+
codeSamplesRevisionDigest: sha256:714a88487636e1f68c9866e8ea394f8bac5439f5d461c0f13d24f4d054c8a7c3
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
@@ -518,4 +518,14 @@ Based on:
518518
### Generated
519519
- [python v0.12.1] .
520520
### Releases
521-
- [PyPI v0.12.1] https://pypi.org/project/glean-api-client/0.12.1 - .
521+
- [PyPI v0.12.1] https://pypi.org/project/glean-api-client/0.12.1 - .
522+
523+
## 2026-02-06 20:25:52
524+
### Changes
525+
Based on:
526+
- OpenAPI Doc
527+
- Speakeasy CLI 1.708.0 (2.811.2) https://github.com/speakeasy-api/speakeasy
528+
### Generated
529+
- [python v0.12.2] .
530+
### Releases
531+
- [PyPI v0.12.2] https://pypi.org/project/glean-api-client/0.12.2 - .

docs/models/agentrun.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# AgentRun
22

3-
Payload for creating a run.
3+
Payload for creating a run. **Important**: If the agent uses an input form trigger, the `input` field is required and must include all fields defined in the form schema. Even fields marked as optional in the UI must be included in the request—use an empty string (`""`) for optional fields without values. Omitting required form fields will result in a 500 error.
44

55

66
## Fields
77

8-
| Field | Type | Required | Description |
9-
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
10-
| `agent_id` | *str* | :heavy_check_mark: | The ID of the agent to run. |
11-
| `input` | Dict[str, *Any*] | :heavy_minus_sign: | The input to the agent. |
12-
| `messages` | List[[models.Message](../models/message.md)] | :heavy_minus_sign: | The messages to pass an input to the agent. |
13-
| `metadata` | Dict[str, *Any*] | :heavy_minus_sign: | The metadata to pass to the agent. |
14-
| `status` | [Optional[models.AgentExecutionStatus]](../models/agentexecutionstatus.md) | :heavy_minus_sign: | The status of the run. One of 'error', 'success'. |
8+
| Field | Type | Required | Description |
9+
| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
10+
| `agent_id` | *str* | :heavy_check_mark: | The ID of the agent to run. |
11+
| `input` | Dict[str, *Any*] | :heavy_minus_sign: | The input to the agent. Required when the agent uses an input form trigger. |
12+
| `messages` | List[[models.Message](../models/message.md)] | :heavy_minus_sign: | The messages to pass an input to the agent. |
13+
| `metadata` | Dict[str, *Any*] | :heavy_minus_sign: | The metadata to pass to the agent. |
14+
| `status` | [Optional[models.AgentExecutionStatus]](../models/agentexecutionstatus.md) | :heavy_minus_sign: | The status of the run. One of 'error', 'success'. |

0 commit comments

Comments
 (0)