Skip to content

Commit 4b7c78b

Browse files
Merge pull request #62 from gleanwork/speakeasy-sdk-regen-1758751971
chore: 🐝 Update SDK - Generate 0.8.0
2 parents 8bc35c4 + 91ab070 commit 4b7c78b

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)