Skip to content

Commit 964d2b0

Browse files
committed
## SDK Changes Detected:
* `glean.client.search.retrieve_feed()`: `response.results.[].primary_entry.chat_suggestion` **Added**
1 parent 44b18d6 commit 964d2b0

35 files changed

+188
-64
lines changed

.speakeasy/gen.lock

Lines changed: 12 additions & 6 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: b0738d0775f5848e1288d7ca6b0400e4
4+
docChecksum: 111660a9971fc10605ae75430d6f1cab
55
docVersion: 0.9.0
6-
speakeasyVersion: 1.603.0
7-
generationVersion: 2.681.1
8-
releaseVersion: 0.7.2
9-
configChecksum: bc34eadc14a450be0874b1974696c11c
6+
speakeasyVersion: 1.606.0
7+
generationVersion: 2.686.7
8+
releaseVersion: 0.7.3
9+
configChecksum: a261afb7b54aff15cfab6d484a67e25c
1010
repoURL: https://github.com/gleanwork/api-client-python.git
1111
installationURL: https://github.com/gleanwork/api-client-python.git
1212
published: true
@@ -16,7 +16,7 @@ features:
1616
additionalProperties: 1.0.1
1717
configurableModuleName: 0.2.0
1818
constsAndDefaults: 1.0.5
19-
core: 5.19.8
19+
core: 5.19.9
2020
defaultEnabledRetries: 0.2.0
2121
deprecations: 3.0.2
2222
devContainers: 3.0.0
@@ -134,6 +134,7 @@ generatedFiles:
134134
- docs/models/chatrestrictionfilters.md
135135
- docs/models/chatresult.md
136136
- docs/models/chatstreamrequest.md
137+
- docs/models/chatsuggestion.md
137138
- docs/models/chatzerostatesuggestionoptions.md
138139
- docs/models/checkdocumentaccessrequest.md
139140
- docs/models/checkdocumentaccessresponse.md
@@ -748,6 +749,7 @@ generatedFiles:
748749
- src/glean/api_client/models/chatrestrictionfilters.py
749750
- src/glean/api_client/models/chatresult.py
750751
- src/glean/api_client/models/chatstreamop.py
752+
- src/glean/api_client/models/chatsuggestion.py
751753
- src/glean/api_client/models/chatzerostatesuggestionoptions.py
752754
- src/glean/api_client/models/checkdocumentaccessrequest.py
753755
- src/glean/api_client/models/checkdocumentaccessresponse.py
@@ -1320,6 +1322,7 @@ generatedFiles:
13201322
- tests/mockserver/internal/sdk/models/components/chatresponse.go
13211323
- tests/mockserver/internal/sdk/models/components/chatrestrictionfilters.go
13221324
- tests/mockserver/internal/sdk/models/components/chatresult.go
1325+
- tests/mockserver/internal/sdk/models/components/chatsuggestion.go
13231326
- tests/mockserver/internal/sdk/models/components/chatzerostatesuggestionoptions.go
13241327
- tests/mockserver/internal/sdk/models/components/checkdocumentaccessrequest.go
13251328
- tests/mockserver/internal/sdk/models/components/checkdocumentaccessresponse.go
@@ -2679,3 +2682,6 @@ generatedTests:
26792682
editcollection: "2025-06-12T19:13:52-04:00"
26802683
createshortcut: "2025-06-12T19:13:52-04:00"
26812684
updateshortcut: "2025-06-12T19:13:52-04:00"
2685+
releaseNotes: |
2686+
## SDK Changes Detected:
2687+
* `glean.client.search.retrieve_feed()`: `response.results.[].primary_entry.chat_suggestion` **Added**

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ generation:
2626
generateNewTests: true
2727
skipResponseBodyAssertions: true
2828
python:
29-
version: 0.7.2
29+
version: 0.7.3
3030
additionalDependencies:
3131
dev: {}
3232
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3774,6 +3774,7 @@ components:
37743774
email:
37753775
type: string
37763776
description: The email address of the user who submitted the Feedback.event.MANUAL_FEEDBACK event.
3777+
deprecated: true
37773778
source:
37783779
type: string
37793780
description: The source associated with the Feedback.event.MANUAL_FEEDBACK event.
@@ -5954,6 +5955,8 @@ components:
59545955
- THREAD_ROOT
59555956
- PREFIX
59565957
- SUFFIX
5958+
- AUTHOR_PREFIX
5959+
- AUTHOR_SUFFIX
59575960
ClusterGroup:
59585961
required:
59595962
- visibleCountHint
@@ -7306,7 +7309,7 @@ components:
73067309
$ref: "#/components/schemas/AgentConfig"
73077310
description: Describes the agent config that generated this message. Populated on responses and not required on requests.
73087311
author:
7309-
default: GLEAN_AI
7312+
default: USER
73107313
enum:
73117314
- USER
73127315
- GLEAN_AI
@@ -9145,6 +9148,7 @@ components:
91459148
- ZERO_STATE_WORKFLOW_FAVORITES
91469149
- ZERO_STATE_WORKFLOW_POPULAR
91479150
- ZERO_STATE_WORKFLOW_SUGGESTION
9151+
- PERSONALIZED_CHAT_SUGGESTION
91489152
description: Categories of content requested. An allowlist gives flexibility to request content separately or together.
91499153
requestOptions:
91509154
$ref: "#/components/schemas/FeedRequestOptions"
@@ -9300,6 +9304,14 @@ components:
93009304
type: array
93019305
items:
93029306
$ref: "#/components/schemas/GeneratedAttachment"
9307+
ChatSuggestion:
9308+
properties:
9309+
query:
9310+
type: string
9311+
description: The actionable chat query to run when the user selects this suggestion.
9312+
feature:
9313+
type: string
9314+
description: Targeted Glean Chat feature for the suggestion.
93039315
PromptTemplateMutableProperties:
93049316
required:
93059317
- template
@@ -9513,6 +9525,7 @@ components:
95139525
- ZERO_STATE_PROMPT_TEMPLATE_SUGGESTION
95149526
- ZERO_STATE_STATIC_WORKFLOW_SUGGESTION
95159527
- ZERO_STATE_AGENT_SUGGESTION
9528+
- PERSONALIZED_CHAT_SUGGESTION
95169529
description: Type of the justification.
95179530
justification:
95189531
type: string
@@ -9537,6 +9550,8 @@ components:
95379550
$ref: "#/components/schemas/Person"
95389551
app:
95399552
$ref: "#/components/schemas/AppResult"
9553+
chatSuggestion:
9554+
$ref: "#/components/schemas/ChatSuggestion"
95409555
promptTemplate:
95419556
$ref: "#/components/schemas/PromptTemplateResult"
95429557
workflow:
@@ -9578,6 +9593,7 @@ components:
95789593
- ZERO_STATE_WORKFLOW_FAVORITES
95799594
- ZERO_STATE_WORKFLOW_POPULAR
95809595
- ZERO_STATE_WORKFLOW_SUGGESTION
9596+
- PERSONALIZED_CHAT_SUGGESTION
95819597
description: Category of the result, one of the requested categories in incoming request.
95829598
primaryEntry:
95839599
$ref: "#/components/schemas/FeedEntry"

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.603.0
1+
speakeasyVersion: 1.606.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:8f18d79a0a7d8f51de7edd5bc8ca3ccc569b81832ffc44ce95a27a12e67b9b7d
6-
sourceBlobDigest: sha256:bb3e5a453f03cbdecf3fb3925768ef4cb0b3119083d9d36c341e1ecd721cde8b
5+
sourceRevisionDigest: sha256:f8d29fd4cb1f55c0f8dec2aa241b1ed048de81fe2437e6ac45cd919d0ab0862b
6+
sourceBlobDigest: sha256:71a0fc16442d0c59361c3c04d5ffc0a1a47f5c3b8ef449d0c21b880dc485343d
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1752597387
9+
- speakeasy-sdk-regen-1755200990
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:8f18d79a0a7d8f51de7edd5bc8ca3ccc569b81832ffc44ce95a27a12e67b9b7d
21-
sourceBlobDigest: sha256:bb3e5a453f03cbdecf3fb3925768ef4cb0b3119083d9d36c341e1ecd721cde8b
20+
sourceRevisionDigest: sha256:f8d29fd4cb1f55c0f8dec2aa241b1ed048de81fe2437e6ac45cd919d0ab0862b
21+
sourceBlobDigest: sha256:71a0fc16442d0c59361c3c04d5ffc0a1a47f5c3b8ef449d0c21b880dc485343d
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:de3bba82d5dbca7c1e5176fccda54e82660c50b9dbe534a26fba17e65abf4dc1
23+
codeSamplesRevisionDigest: sha256:efb5fc9e5d18ebafdd087e4838a605ed2c66d29f0b07f56256cb2a3fa666e8b8
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ with Glean(
146146

147147
res = glean.client.chat.create(messages=[
148148
{
149-
"author": models.Author.USER,
150149
"fragments": [
151150
models.ChatMessageFragment(
152151
text="What are the company holidays this year?",
@@ -176,7 +175,6 @@ async def main():
176175

177176
res = await glean.client.chat.create_async(messages=[
178177
{
179-
"author": models.Author.USER,
180178
"fragments": [
181179
models.ChatMessageFragment(
182180
text="What are the company holidays this year?",
@@ -205,7 +203,6 @@ with Glean(
205203

206204
res = glean.client.chat.create_stream(messages=[
207205
{
208-
"author": models.Author.USER,
209206
"fragments": [
210207
models.ChatMessageFragment(
211208
text="What are the company holidays this year?",
@@ -235,7 +232,6 @@ async def main():
235232

236233
res = await glean.client.chat.create_stream_async(messages=[
237234
{
238-
"author": models.Author.USER,
239235
"fragments": [
240236
models.ChatMessageFragment(
241237
text="What are the company holidays this year?",

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,14 @@ Based on:
198198
### Generated
199199
- [python v0.7.2] .
200200
### Releases
201-
- [PyPI v0.7.2] https://pypi.org/project/glean/0.7.2 - .
201+
- [PyPI v0.7.2] https://pypi.org/project/glean/0.7.2 - .
202+
203+
## 2025-08-18 23:42:57
204+
### Changes
205+
Based on:
206+
- OpenAPI Doc
207+
- Speakeasy CLI 1.606.0 (2.686.7) https://github.com/speakeasy-api/speakeasy
208+
### Generated
209+
- [python v0.7.3] .
210+
### Releases
211+
- [PyPI v0.7.3] https://pypi.org/project/glean/0.7.3 - .

USAGE.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ with Glean(
1111

1212
res = glean.client.chat.create(messages=[
1313
{
14-
"author": models.Author.USER,
1514
"fragments": [
1615
models.ChatMessageFragment(
1716
text="What are the company holidays this year?",
@@ -41,7 +40,6 @@ async def main():
4140

4241
res = await glean.client.chat.create_async(messages=[
4342
{
44-
"author": models.Author.USER,
4543
"fragments": [
4644
models.ChatMessageFragment(
4745
text="What are the company holidays this year?",
@@ -68,7 +66,6 @@ with Glean(
6866

6967
res = glean.client.chat.create_stream(messages=[
7068
{
71-
"author": models.Author.USER,
7269
"fragments": [
7370
models.ChatMessageFragment(
7471
text="What are the company holidays this year?",
@@ -98,7 +95,6 @@ async def main():
9895

9996
res = await glean.client.chat.create_stream_async(messages=[
10097
{
101-
"author": models.Author.USER,
10298
"fragments": [
10399
models.ChatMessageFragment(
104100
text="What are the company holidays this year?",

docs/models/chatsuggestion.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# ChatSuggestion
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- |
8+
| `query` | *Optional[str]* | :heavy_minus_sign: | The actionable chat query to run when the user selects this suggestion. |
9+
| `feature` | *Optional[str]* | :heavy_minus_sign: | Targeted Glean Chat feature for the suggestion. |

docs/models/clustertypeenum.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@ The reason for inclusion of clusteredResults.
55

66
## Values
77

8-
| Name | Value |
9-
| -------------- | -------------- |
10-
| `SIMILAR` | SIMILAR |
11-
| `FRESHNESS` | FRESHNESS |
12-
| `TITLE` | TITLE |
13-
| `CONTENT` | CONTENT |
14-
| `NONE` | NONE |
15-
| `THREAD_REPLY` | THREAD_REPLY |
16-
| `THREAD_ROOT` | THREAD_ROOT |
17-
| `PREFIX` | PREFIX |
18-
| `SUFFIX` | SUFFIX |
8+
| Name | Value |
9+
| --------------- | --------------- |
10+
| `SIMILAR` | SIMILAR |
11+
| `FRESHNESS` | FRESHNESS |
12+
| `TITLE` | TITLE |
13+
| `CONTENT` | CONTENT |
14+
| `NONE` | NONE |
15+
| `THREAD_REPLY` | THREAD_REPLY |
16+
| `THREAD_ROOT` | THREAD_ROOT |
17+
| `PREFIX` | PREFIX |
18+
| `SUFFIX` | SUFFIX |
19+
| `AUTHOR_PREFIX` | AUTHOR_PREFIX |
20+
| `AUTHOR_SUFFIX` | AUTHOR_SUFFIX |

docs/models/feedentry.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
| `collection_item` | [Optional[models.CollectionItem]](../models/collectionitem.md) | :heavy_minus_sign: | N/A | |
2222
| `person` | [Optional[models.Person]](../models/person.md) | :heavy_minus_sign: | N/A | {<br/>"name": "George Clooney",<br/>"obfuscatedId": "abc123"<br/>} |
2323
| `app` | [Optional[models.AppResult]](../models/appresult.md) | :heavy_minus_sign: | N/A | |
24+
| `chat_suggestion` | [Optional[models.ChatSuggestion]](../models/chatsuggestion.md) | :heavy_minus_sign: | N/A | |
2425
| `prompt_template` | [Optional[models.PromptTemplateResult]](../models/prompttemplateresult.md) | :heavy_minus_sign: | N/A | |
2526
| `workflow` | [Optional[models.WorkflowResult]](../models/workflowresult.md) | :heavy_minus_sign: | N/A | |
2627
| `activities` | List[[models.UserActivity](../models/useractivity.md)] | :heavy_minus_sign: | List of activity where each activity has user, action, timestamp. | |

0 commit comments

Comments
 (0)