Skip to content

Commit 2b275bc

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

32 files changed

+156
-44
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: d015d2f56bf3407455d2fd1e9ffd21d6
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.605.0
7+
generationVersion: 2.684.0
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: 15 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.
@@ -7306,7 +7307,7 @@ components:
73067307
$ref: "#/components/schemas/AgentConfig"
73077308
description: Describes the agent config that generated this message. Populated on responses and not required on requests.
73087309
author:
7309-
default: GLEAN_AI
7310+
default: USER
73107311
enum:
73117312
- USER
73127313
- GLEAN_AI
@@ -9145,6 +9146,7 @@ components:
91459146
- ZERO_STATE_WORKFLOW_FAVORITES
91469147
- ZERO_STATE_WORKFLOW_POPULAR
91479148
- ZERO_STATE_WORKFLOW_SUGGESTION
9149+
- PERSONALIZED_CHAT_SUGGESTION
91489150
description: Categories of content requested. An allowlist gives flexibility to request content separately or together.
91499151
requestOptions:
91509152
$ref: "#/components/schemas/FeedRequestOptions"
@@ -9300,6 +9302,14 @@ components:
93009302
type: array
93019303
items:
93029304
$ref: "#/components/schemas/GeneratedAttachment"
9305+
ChatSuggestion:
9306+
properties:
9307+
query:
9308+
type: string
9309+
description: The actionable chat query to run when the user selects this suggestion.
9310+
feature:
9311+
type: string
9312+
description: Targeted Glean Chat feature for the suggestion.
93039313
PromptTemplateMutableProperties:
93049314
required:
93059315
- template
@@ -9513,6 +9523,7 @@ components:
95139523
- ZERO_STATE_PROMPT_TEMPLATE_SUGGESTION
95149524
- ZERO_STATE_STATIC_WORKFLOW_SUGGESTION
95159525
- ZERO_STATE_AGENT_SUGGESTION
9526+
- PERSONALIZED_CHAT_SUGGESTION
95169527
description: Type of the justification.
95179528
justification:
95189529
type: string
@@ -9537,6 +9548,8 @@ components:
95379548
$ref: "#/components/schemas/Person"
95389549
app:
95399550
$ref: "#/components/schemas/AppResult"
9551+
chatSuggestion:
9552+
$ref: "#/components/schemas/ChatSuggestion"
95409553
promptTemplate:
95419554
$ref: "#/components/schemas/PromptTemplateResult"
95429555
workflow:
@@ -9578,6 +9591,7 @@ components:
95789591
- ZERO_STATE_WORKFLOW_FAVORITES
95799592
- ZERO_STATE_WORKFLOW_POPULAR
95809593
- ZERO_STATE_WORKFLOW_SUGGESTION
9594+
- PERSONALIZED_CHAT_SUGGESTION
95819595
description: Category of the result, one of the requested categories in incoming request.
95829596
primaryEntry:
95839597
$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.605.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:8f18d79a0a7d8f51de7edd5bc8ca3ccc569b81832ffc44ce95a27a12e67b9b7d
6-
sourceBlobDigest: sha256:bb3e5a453f03cbdecf3fb3925768ef4cb0b3119083d9d36c341e1ecd721cde8b
5+
sourceRevisionDigest: sha256:9ee90fb8f45e028de907981e4a8d5fc797654f464101b35ef2ef4ee34bf974ec
6+
sourceBlobDigest: sha256:8475bf3f050444738bb5e9b26c108673be6cd671151834d1c8550e0977cd684e
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:9ee90fb8f45e028de907981e4a8d5fc797654f464101b35ef2ef4ee34bf974ec
21+
sourceBlobDigest: sha256:8475bf3f050444738bb5e9b26c108673be6cd671151834d1c8550e0977cd684e
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-17 01:50:28
204+
### Changes
205+
Based on:
206+
- OpenAPI Doc
207+
- Speakeasy CLI 1.605.0 (2.684.0) 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/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. | |

docs/models/feedrequestcategory.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@
2626
| `ZERO_STATE_WORKFLOW_CREATED_BY_ME` | ZERO_STATE_WORKFLOW_CREATED_BY_ME |
2727
| `ZERO_STATE_WORKFLOW_FAVORITES` | ZERO_STATE_WORKFLOW_FAVORITES |
2828
| `ZERO_STATE_WORKFLOW_POPULAR` | ZERO_STATE_WORKFLOW_POPULAR |
29-
| `ZERO_STATE_WORKFLOW_SUGGESTION` | ZERO_STATE_WORKFLOW_SUGGESTION |
29+
| `ZERO_STATE_WORKFLOW_SUGGESTION` | ZERO_STATE_WORKFLOW_SUGGESTION |
30+
| `PERSONALIZED_CHAT_SUGGESTION` | PERSONALIZED_CHAT_SUGGESTION |

0 commit comments

Comments
 (0)