Skip to content

Commit 3eff8dc

Browse files
committed
## Python SDK Changes:
* `glean.chat.create()`: * `request.input.union(Array<PlatformChatInputMessage>)[].role` **Changed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `glean.client.search.retrieve_feed()`: * `request.categories[].enum(knowledge_gap)` **Added** * `response.results[]` **Changed**
1 parent 89f7307 commit 3eff8dc

61 files changed

Lines changed: 474 additions & 422 deletions

File tree

Some content is hidden

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

.speakeasy/gen.lock

Lines changed: 120 additions & 119 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
@@ -34,7 +34,7 @@ generation:
3434
generateNewTests: true
3535
skipResponseBodyAssertions: true
3636
python:
37-
version: 0.15.5
37+
version: 0.15.6
3838
additionalDependencies:
3939
dev: {}
4040
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 106 additions & 90 deletions
Large diffs are not rendered by default.

.speakeasy/tests.arazzo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159063,7 +159063,7 @@ workflows:
159063159063
- condition: $response.header.Content-Type == application/json
159064159064
- context: $response.body
159065159065
condition: |
159066-
{"id":"<id>","object":"response","created_at":"2026-05-19T05:32:52.505Z","status":"completed","output":[{"type":"message","role":"assistant","content":[{"type":"output_text","text":"<value>"}]}],"store":false,"request_id":"<id>"}
159066+
{"id":"<id>","object":"RESPONSE","created_at":"2026-05-19T05:32:52.505Z","status":"COMPLETED","output":[{"type":"MESSAGE","role":"ASSISTANT","content":[{"type":"OUTPUT_TEXT","text":"<value>"}]}],"store":false,"request_id":"<id>"}
159067159067
type: simple
159068159068
x-speakeasy-test-group: chat_SDK
159069159069
x-speakeasy-test-rebuild: true

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
speakeasyVersion: 1.792.0
1+
speakeasyVersion: 1.794.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:ca77ef4550d695da210e8f0d32f3422d29e9d09f7aa66f7b13d248c6ec8c7941
6-
sourceBlobDigest: sha256:469de4cd2c8ab4928c3989656bf63cc265a8ceea5a8b3e3498734137b19723f8
5+
sourceRevisionDigest: sha256:f80bbddd9fa7ca5475b3b9d84338e0a16de2e47c3e6585e568af8bcb449301f2
6+
sourceBlobDigest: sha256:7adb7b36c3a5923084580a20334184a64a83265d805eea894e2259c4b505af0b
77
tags:
88
- latest
99
Glean Client API:
@@ -16,10 +16,10 @@ targets:
1616
glean:
1717
source: Glean API
1818
sourceNamespace: glean-api-specs
19-
sourceRevisionDigest: sha256:ca77ef4550d695da210e8f0d32f3422d29e9d09f7aa66f7b13d248c6ec8c7941
20-
sourceBlobDigest: sha256:469de4cd2c8ab4928c3989656bf63cc265a8ceea5a8b3e3498734137b19723f8
19+
sourceRevisionDigest: sha256:f80bbddd9fa7ca5475b3b9d84338e0a16de2e47c3e6585e568af8bcb449301f2
20+
sourceBlobDigest: sha256:7adb7b36c3a5923084580a20334184a64a83265d805eea894e2259c4b505af0b
2121
codeSamplesNamespace: glean-api-specs-python-code-samples
22-
codeSamplesRevisionDigest: sha256:2c3560eb6c6ea1afdbbf7fd64c9e27673ca3ae028fb784f30ecd9151553898f8
22+
codeSamplesRevisionDigest: sha256:1426503cf43714290faf1a9a9a0d94f83a6638e69dd2fa02ede4f4be83ab7fab
2323
workflow:
2424
workflowVersion: 1.0.0
2525
speakeasyVersion: latest

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,8 +561,8 @@ For more information on obtaining the appropriate token type, please contact you
561561

562562
* [create](docs/sdks/skills/README.md#create) - Create skill
563563
* [list](docs/sdks/skills/README.md#list) - List skills
564-
* [validate](docs/sdks/skills/README.md#validate) - Validate skill bundle
565564
* [import_](docs/sdks/skills/README.md#import_) - Import skills from GitHub
565+
* [validate](docs/sdks/skills/README.md#validate) - Validate skill bundle
566566
* [preview_source](docs/sdks/skills/README.md#preview_source) - Preview a GitHub skill source
567567
* [update](docs/sdks/skills/README.md#update) - Update skill
568568
* [delete](docs/sdks/skills/README.md#delete) - Delete skill

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,4 +818,14 @@ Based on:
818818
### Generated
819819
- [python v0.15.5] .
820820
### Releases
821-
- [PyPI v0.15.5] https://pypi.org/project/glean-api-client/0.15.5 - .
821+
- [PyPI v0.15.5] https://pypi.org/project/glean-api-client/0.15.5 - .
822+
823+
## 2026-08-15 01:15:30
824+
### Changes
825+
Based on:
826+
- OpenAPI Doc
827+
- Speakeasy CLI 1.794.0 (2.930.0) https://github.com/speakeasy-api/speakeasy
828+
### Generated
829+
- [python v0.15.6] .
830+
### Releases
831+
- [PyPI v0.15.6] https://pypi.org/project/glean-api-client/0.15.6 - .

docs/models/feedrequestcategory.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,5 @@ value = FeedRequestCategory.DOCUMENT_SUGGESTION
5757
| `DEMO_CARD` | DEMO_CARD |
5858
| `OOO_PLANNER` | OOO_PLANNER |
5959
| `OOO_CATCH_UP` | OOO_CATCH_UP |
60-
| `ADMIN_HEALTH_CENTER` | ADMIN_HEALTH_CENTER |
60+
| `ADMIN_HEALTH_CENTER` | ADMIN_HEALTH_CENTER |
61+
| `KNOWLEDGE_GAP` | KNOWLEDGE_GAP |

docs/models/feedresult.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8-
| `category` | [models.FeedResultCategory](../models/feedresultcategory.md) | :heavy_check_mark: | Category of the result, one of the requested categories in incoming request. |
9-
| `primary_entry` | [models.FeedEntry](../models/feedentry.md) | :heavy_check_mark: | N/A |
10-
| `secondary_entries` | List[[models.FeedEntry](../models/feedentry.md)] | :heavy_minus_sign: | Secondary entries for the result e.g. suggested docs for the calendar, carousel. |
11-
| `rank` | *Optional[int]* | :heavy_minus_sign: | Rank of the result. Rank is suggested by server. Client side rank may differ. |
12-
| `placement_reason` | [Optional[models.PlacementReason]](../models/placementreason.md) | :heavy_minus_sign: | Placement source for ranked feed results. ORGANIC means the card was emitted by normal feed ranking. PROMO means the card was inserted by the homepage cards promo framework. |
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `category` | [models.FeedResultCategory](../models/feedresultcategory.md) | :heavy_check_mark: | Category of the result, one of the requested categories in incoming request. |
9+
| `primary_entry` | [models.FeedEntry](../models/feedentry.md) | :heavy_check_mark: | N/A |
10+
| `secondary_entries` | List[[models.FeedEntry](../models/feedentry.md)] | :heavy_minus_sign: | Secondary entries for the result e.g. suggested docs for the calendar, carousel. |
11+
| `rank` | *Optional[int]* | :heavy_minus_sign: | Rank of the result. Rank is suggested by server. Client side rank may differ. |
12+
| `placement_reason` | [Optional[models.PlacementReason]](../models/placementreason.md) | :heavy_minus_sign: | Placement source for ranked feed results. ORGANIC means the card was emitted by normal feed ranking. PROMO means the card was inserted by the homepage cards promo framework. PINNED means the card was moved to the head of the ranked stack (e.g. knowledge-gap pilot cards). |

docs/models/feedresultcategory.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,5 @@ value = FeedResultCategory.DOCUMENT_SUGGESTION
6161
| `DEMO_CARD` | DEMO_CARD |
6262
| `OOO_PLANNER` | OOO_PLANNER |
6363
| `OOO_CATCH_UP` | OOO_CATCH_UP |
64-
| `ADMIN_HEALTH_CENTER` | ADMIN_HEALTH_CENTER |
64+
| `ADMIN_HEALTH_CENTER` | ADMIN_HEALTH_CENTER |
65+
| `KNOWLEDGE_GAP` | KNOWLEDGE_GAP |

0 commit comments

Comments
 (0)