Skip to content

Commit 9a7c8df

Browse files
committed
## Python SDK Changes Detected:
* `glean.client.documents.summarize()`: * `request.document_specs.[].[class]` **Changed** **Breaking** ⚠️ * `glean.client.documents.retrieve()`: * `request.document_specs.[].[class]` **Changed** **Breaking** ⚠️ * `response.documents.{}.[document].metadata.author.related_documents.[]` **Changed** * `glean.client.answers.create()`: * `request.data.added_roles.[]` **Changed** **Breaking** ⚠️ * `response.added_roles.[]` **Changed** * `glean.client.answers.update()`: * `request.added_roles.[]` **Changed** **Breaking** ⚠️ * `response.added_roles.[]` **Changed** * `glean.client.shortcuts.update()`: * `request.added_roles.[]` **Changed** **Breaking** ⚠️ * `response.shortcut.added_roles.[]` **Changed** * `glean.client.shortcuts.create()`: * `request.data.added_roles.[]` **Changed** **Breaking** ⚠️ * `response.shortcut.added_roles.[]` **Changed** * `glean.client.chat.create()`: * `request.messages.[]` **Changed** **Breaking** ⚠️ * `response.messages.[]` **Changed** * `glean.client.search.query()`: * `request.source_document.metadata.author.related_documents.[]` **Changed** **Breaking** ⚠️ * `response.results.[].structured_results.[].document.metadata` **Changed** * `glean.client.search.recommendations()`: * `request.source_document.metadata.author.related_documents.[]` **Changed** **Breaking** ⚠️ * `response.results.[].structured_results.[].document.metadata` **Changed** * `glean.client.search.query_as_admin()`: * `request.source_document.metadata.author.related_documents.[]` **Changed** **Breaking** ⚠️ * `response.results.[].structured_results.[].document.metadata` **Changed** * `glean.client.chat.create_stream()`: * `request.messages.[]` **Changed** **Breaking** ⚠️ * `glean.client.announcements.create()`: * `request.body.structured_list.[].document.metadata.author.related_documents.[]` **Changed** **Breaking** ⚠️ * `response.body.structured_list.[].document.metadata.author.related_documents.[]` **Changed** * `glean.client.collections.create()`: * `request.added_roles.[]` **Changed** **Breaking** ⚠️ * `response` **Changed** **Breaking** ⚠️ * `glean.client.announcements.update()`: * `request.body.structured_list.[].document.metadata.author.related_documents.[]` **Changed** **Breaking** ⚠️ * `response.body.structured_list.[].document.metadata.author.related_documents.[]` **Changed** * `glean.client.collections.update()`: * `request.added_roles.[]` **Changed** **Breaking** ⚠️ * `response.added_roles.[]` **Changed** * `glean.client.collections.add_items()`: `response.collection.added_roles.[]` **Changed** * `glean.client.search.autocomplete()`: `response.results.[].document.metadata.author.related_documents.[]` **Changed** * `glean.client.collections.list()`: `response.collections.[].added_roles.[]` **Changed** * `glean.client.collections.update_item()`: `response.collection.added_roles.[]` **Changed** * `glean.client.documents.retrieve_by_facets()`: `response.documents.[].metadata.author.related_documents.[]` **Changed** * `glean.client.collections.delete_item()`: `response.collection.added_roles.[]` **Changed** * `glean.client.insights.retrieve()`: `response.users.activity_insights.[].user.related_documents.[].query_suggestion` **Changed** * `glean.client.messages.retrieve()`: `response.search_response.results.[].structured_results.[].document.metadata` **Changed** * `glean.client.pins.update()`: `response.attribution.related_documents.[].query_suggestion` **Changed** * `glean.client.pins.retrieve()`: `response.pin.attribution.related_documents.[].query_suggestion` **Changed** * `glean.client.pins.list()`: `response.pins.[].attribution.related_documents.[].query_suggestion` **Changed** * `glean.client.pins.create()`: `response.attribution.related_documents.[].query_suggestion` **Changed** * `glean.client.chat.retrieve_files()`: `request.chat_id` **Added** * `glean.client.collections.retrieve()`: `response.collection.added_roles.[]` **Changed** * `glean.client.search.retrieve_feed()`: `response.results.[].primary_entry` **Changed** * `glean.client.chat.list()`: `response.chat_results.[].chat.created_by.related_documents.[].query_suggestion` **Changed** * `glean.client.chat.retrieve()`: `response.chat_result.chat` **Changed** * `glean.client.entities.list()`: `response.results.[].related_documents.[].query_suggestion` **Changed** * `glean.client.entities.read_people()`: `response.results.[].related_documents.[].query_suggestion` **Changed** * `glean.client.answers.list()`: `response.answer_results.[].answer.added_roles.[]` **Changed** * `glean.client.shortcuts.retrieve()`: `response.shortcut.added_roles.[]` **Changed** * `glean.client.shortcuts.list()`: `response.shortcuts.[].added_roles.[]` **Changed** * `glean.client.answers.retrieve()`: `response.answer_result.answer.added_roles.[]` **Changed** * `glean.client.verification.add_reminder()`: `response.metadata.last_verifier.related_documents.[].query_suggestion` **Changed** * `glean.client.verification.list()`: `response.documents.[].metadata.last_verifier.related_documents.[].query_suggestion` **Changed** * `glean.client.verification.verify()`: `response.metadata.last_verifier.related_documents.[].query_suggestion` **Changed**
1 parent 8bc35c4 commit 9a7c8df

File tree

96 files changed

+1726
-976
lines changed

Some content is hidden

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

96 files changed

+1726
-976
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.env
2+
.env.local
13
**/__pycache__/
24
**/.speakeasy/temp/
35
**/.speakeasy/logs/

.speakeasy/gen.lock

Lines changed: 36 additions & 16 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,22 @@ generation:
1919
auth:
2020
oAuth2ClientCredentialsEnabled: false
2121
oAuth2PasswordEnabled: false
22+
hoistGlobalSecurity: true
2223
mockServer:
2324
disabled: false
2425
tests:
2526
generateTests: true
2627
generateNewTests: true
2728
skipResponseBodyAssertions: true
2829
python:
29-
version: 0.7.3
30+
version: 0.8.0
3031
additionalDependencies:
3132
dev: {}
3233
main: {}
3334
allowedRedefinedBuiltins:
3435
- id
3536
- object
37+
asyncMode: both
3638
authors:
3739
- Speakeasy
3840
baseErrorName: GleanBaseError
@@ -65,4 +67,5 @@ python:
6567
pytestFilterWarnings: []
6668
pytestTimeout: 0
6769
responseFormat: flat
70+
sseFlatResponse: false
6871
templateVersion: v2

.speakeasy/glean-merged-spec.yaml

Lines changed: 165 additions & 7 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.606.9
1+
speakeasyVersion: 1.625.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:35193fded9c9797576c742f6e93e2e3e9d507aa2ab2c55a5458825561552f33e
6-
sourceBlobDigest: sha256:1dc638c477afb69ccc30ba6482d7ac2e7237238d44638da8d0c4ece45f36d416
5+
sourceRevisionDigest: sha256:a9b49b3146d88faffb25761f988ab0445ed0366b84774a13d4754cb0eb7a3b9b
6+
sourceBlobDigest: sha256:4408853be9bce04865c08fd37b8c11320ffd3b79ef0c70ca8fa1791df0679b1f
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1755200990
9+
- speakeasy-sdk-regen-1758751971
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:35193fded9c9797576c742f6e93e2e3e9d507aa2ab2c55a5458825561552f33e
21-
sourceBlobDigest: sha256:1dc638c477afb69ccc30ba6482d7ac2e7237238d44638da8d0c4ece45f36d416
20+
sourceRevisionDigest: sha256:a9b49b3146d88faffb25761f988ab0445ed0366b84774a13d4754cb0eb7a3b9b
21+
sourceBlobDigest: sha256:4408853be9bce04865c08fd37b8c11320ffd3b79ef0c70ca8fa1791df0679b1f
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:ec1033795495ed5feb092f4ca786534382c763ff1787a997db77303ef0539ad9
23+
codeSamplesRevisionDigest: sha256:98a13a63cdf737a90dd1b7477ea6c0ce8a80bbd62c3e5bdce09ca7d65585e69b
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
@@ -208,4 +208,14 @@ Based on:
208208
### Generated
209209
- [python v0.7.3] .
210210
### Releases
211-
- [PyPI v0.7.3] https://pypi.org/project/glean/0.7.3 - .
211+
- [PyPI v0.7.3] https://pypi.org/project/glean/0.7.3 - .
212+
213+
## 2025-09-24 22:12:26
214+
### Changes
215+
Based on:
216+
- OpenAPI Doc
217+
- Speakeasy CLI 1.625.0 (2.715.0) https://github.com/speakeasy-api/speakeasy
218+
### Generated
219+
- [python v0.8.0] .
220+
### Releases
221+
- [PyPI v0.8.0] https://pypi.org/project/glean/0.8.0 - .

docs/models/agentconfig.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ Describes the agent that executes the request.
55

66
## Fields
77

8-
| Field | Type | Required | Description |
9-
| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- |
10-
| `agent` | [Optional[models.AgentEnum]](../models/agentenum.md) | :heavy_minus_sign: | Name of the agent. |
11-
| `mode` | [Optional[models.Mode]](../models/mode.md) | :heavy_minus_sign: | Top level modes to run GleanChat in. |
8+
| Field | Type | Required | Description |
9+
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
10+
| `agent` | [Optional[models.AgentEnum]](../models/agentenum.md) | :heavy_minus_sign: | Name of the agent. |
11+
| `tool_sets` | [Optional[models.ToolSets]](../models/toolsets.md) | :heavy_minus_sign: | The types of tools that the agent is allowed to use. Only works with FAST and ADVANCED `agent` values |
12+
| `mode` | [Optional[models.Mode]](../models/mode.md) | :heavy_minus_sign: | Top level modes to run GleanChat in. |

docs/models/agentenum.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ Name of the agent.
99
| ----------- | ----------- |
1010
| `DEFAULT` | DEFAULT |
1111
| `GPT` | GPT |
12-
| `UNIVERSAL` | UNIVERSAL |
12+
| `UNIVERSAL` | UNIVERSAL |
13+
| `FAST` | FAST |
14+
| `ADVANCED` | ADVANCED |

docs/models/chat.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ A historical representation of a series of chat messages a user had with Glean A
1515
| `application_id` | *Optional[str]* | :heavy_minus_sign: | The ID of the AI App that this Chat is associated to. | |
1616
| `application_name` | *Optional[str]* | :heavy_minus_sign: | The display name of the AI App that this Chat is associated to. | |
1717
| `icon` | [Optional[models.IconConfig]](../models/iconconfig.md) | :heavy_minus_sign: | Defines how to render an icon | {<br/>"color": "#343CED",<br/>"key": "person_icon",<br/>"iconType": "GLYPH",<br/>"name": "user"<br/>} |
18-
| `messages` | List[[models.ChatMessage](../models/chatmessage.md)] | :heavy_minus_sign: | The chat messages within a Chat. | |
18+
| `permissions` | [Optional[models.ObjectPermissions]](../models/objectpermissions.md) | :heavy_minus_sign: | N/A | |
19+
| `messages` | List[[models.ChatMessage](../models/chatmessage.md)] | :heavy_minus_sign: | The chat messages within a Chat. | |
20+
| `roles` | List[[models.UserRoleSpecification](../models/userrolespecification.md)] | :heavy_minus_sign: | A list of roles for this Chat. | |

docs/models/chatmessagefragment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ChatMessageFragment
22

3-
Represents a part of a ChatMessage that originates from a single action/tool. It is designed to support rich data formats beyond simple text, allowing for a more dynamic and interactive chat experience. Each fragment can include various types of content, such as text, search queries, action information, and more. Also, each ChatMessageFragment should only have one of structuredResults, querySuggestion, writeAction, followupAction, or file.
3+
Represents a part of a ChatMessage that originates from a single action/tool. It is designed to support rich data formats beyond simple text, allowing for a more dynamic and interactive chat experience. Each fragment can include various types of content, such as text, search queries, action information, and more. Also, each ChatMessageFragment should only have one of structuredResults, querySuggestion, writeAction, followupAction, agentRecommendation or file.
44

55

66
## Fields

0 commit comments

Comments
 (0)