Skip to content

Commit ec96d2f

Browse files
Merge pull request #73 from gleanwork/speakeasy-sdk-regen-1760999713
chore: 🐝 Update SDK - Generate 0.11.0
2 parents afe2ad4 + 43b7f2c commit ec96d2f

File tree

17 files changed

+176
-133
lines changed

17 files changed

+176
-133
lines changed

.speakeasy/gen.lock

Lines changed: 7 additions & 9 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: 5a4cd8de1e6ca5f701ac27e244d09799
4+
docChecksum: 30752ad325475357749711c885ecb81f
55
docVersion: 0.9.0
6-
speakeasyVersion: 1.636.3
7-
generationVersion: 2.723.11
8-
releaseVersion: 0.10.3
9-
configChecksum: e07c2e6f4cf5159e031335490e5f2f34
6+
speakeasyVersion: 1.638.0
7+
generationVersion: 2.728.0
8+
releaseVersion: 0.11.0
9+
configChecksum: 07f0a9ba148add2a46e7e1b2f680ddab
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.22.1
19+
core: 5.23.0
2020
defaultEnabledRetries: 0.2.0
2121
deprecations: 3.0.2
2222
devContainers: 3.0.0
@@ -2742,6 +2742,4 @@ generatedTests:
27422742
editcollection: "2025-06-12T19:13:52-04:00"
27432743
createshortcut: "2025-06-12T19:13:52-04:00"
27442744
updateshortcut: "2025-06-12T19:13:52-04:00"
2745-
releaseNotes: |
2746-
## Python SDK Changes Detected:
2747-
* `glean.client.messages.retrieve()`: `request.datasource` **Changed** **Breaking** :warning:
2745+
releaseNotes: "## Python SDK Changes Detected:\n* `glean.client.chat.create()`: \n * `request.messages.[].agent_config.use_image_generation` **Added**\n * `response.messages.[].agent_config.use_image_generation` **Added**\n* `glean.client.chat.retrieve()`: `response.chat_result.chat.messages.[].agent_config.use_image_generation` **Added**\n* `glean.client.chat.create_stream()`: \n * `request.messages.[].agent_config.use_image_generation` **Added**\n"

.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,16 @@ generation:
2020
oAuth2ClientCredentialsEnabled: false
2121
oAuth2PasswordEnabled: false
2222
hoistGlobalSecurity: true
23+
schemas:
24+
allOfMergeStrategy: shallowMerge
2325
mockServer:
2426
disabled: false
2527
tests:
2628
generateTests: true
2729
generateNewTests: true
2830
skipResponseBodyAssertions: true
2931
python:
30-
version: 0.10.3
32+
version: 0.11.0
3133
additionalDependencies:
3234
dev: {}
3335
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 48 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -7047,6 +7047,9 @@ components:
70477047
enum:
70487048
- DEFAULT
70497049
- QUICK
7050+
useImageGeneration:
7051+
type: boolean
7052+
description: Whether the agent should create an image.
70507053
ChatFileStatus:
70517054
type: string
70527055
description: Current status of the file.
@@ -7427,6 +7430,19 @@ components:
74277430
deprecated: true
74287431
type: boolean
74297432
description: Signals there are additional response fragments incoming.
7433+
ChatRequestBase:
7434+
required:
7435+
- messages
7436+
description: The minimal set of fields that form a chat request.
7437+
properties:
7438+
messages:
7439+
type: array
7440+
description: A list of chat messages, from most recent to least recent. At least one message must specify a USER author.
7441+
items:
7442+
$ref: "#/components/schemas/ChatMessage"
7443+
sessionInfo:
7444+
description: Optional object for tracking the session used by the client and for debugging purposes.
7445+
$ref: "#/components/schemas/SessionInfo"
74307446
ChatRestrictionFilters:
74317447
allOf:
74327448
- $ref: "#/components/schemas/RestrictionFilters"
@@ -7441,45 +7457,38 @@ components:
74417457
items:
74427458
type: string
74437459
ChatRequest:
7444-
required:
7445-
- messages
7446-
properties:
7447-
saveChat:
7448-
type: boolean
7449-
description: Save the current interaction as a Chat for the user to access and potentially continue later.
7450-
chatId:
7451-
type: string
7452-
description: The id of the Chat that context should be retrieved from and messages added to. An empty id starts a new Chat, and the Chat is saved if saveChat is true.
7453-
messages:
7454-
type: array
7455-
description: A list of chat messages, from most recent to least recent. At least one message must specify a USER author.
7456-
items:
7457-
$ref: "#/components/schemas/ChatMessage"
7458-
agentConfig:
7459-
$ref: "#/components/schemas/AgentConfig"
7460-
description: Describes the agent that will execute the request.
7461-
inclusions:
7462-
$ref: "#/components/schemas/ChatRestrictionFilters"
7463-
description: A list of filters which only allows chat to access certain content.
7464-
exclusions:
7465-
$ref: "#/components/schemas/ChatRestrictionFilters"
7466-
description: A list of filters which disallows chat from accessing certain content. If content is in both inclusions and exclusions, it'll be excluded.
7467-
timeoutMillis:
7468-
type: integer
7469-
description: Timeout in milliseconds for the request. A `408` error will be returned if handling the request takes longer.
7470-
example: 30000
7471-
sessionInfo:
7472-
description: Optional object for tracking the session used by the client and for debugging purposes.
7473-
$ref: "#/components/schemas/SessionInfo"
7474-
applicationId:
7475-
type: string
7476-
description: The ID of the application this request originates from, used to determine the configuration of underlying chat processes. This should correspond to the ID set during admin setup. If not specified, the default chat experience will be used.
7477-
agentId:
7478-
type: string
7479-
description: The ID of the Agent that should process this chat request. Only Agents with trigger set to 'User chat message' are invokable through this API. If not specified, the default chat experience will be used.
7480-
stream:
7481-
type: boolean
7482-
description: If set, response lines will be streamed one-by-one as they become available. Each will be a ChatResponse, formatted as JSON, and separated by a new line. If false, the entire response will be returned at once. Note that if this is set and the model being used does not support streaming, the model's response will not be streamed, but other messages from the endpoint still will be.
7460+
allOf:
7461+
- $ref: "#/components/schemas/ChatRequestBase"
7462+
- type: object
7463+
properties:
7464+
saveChat:
7465+
type: boolean
7466+
description: Save the current interaction as a Chat for the user to access and potentially continue later.
7467+
chatId:
7468+
type: string
7469+
description: The id of the Chat that context should be retrieved from and messages added to. An empty id starts a new Chat, and the Chat is saved if saveChat is true.
7470+
agentConfig:
7471+
$ref: "#/components/schemas/AgentConfig"
7472+
description: Describes the agent that will execute the request.
7473+
inclusions:
7474+
$ref: "#/components/schemas/ChatRestrictionFilters"
7475+
description: A list of filters which only allows chat to access certain content.
7476+
exclusions:
7477+
$ref: "#/components/schemas/ChatRestrictionFilters"
7478+
description: A list of filters which disallows chat from accessing certain content. If content is in both inclusions and exclusions, it'll be excluded.
7479+
timeoutMillis:
7480+
type: integer
7481+
description: Timeout in milliseconds for the request. A `408` error will be returned if handling the request takes longer.
7482+
example: 30000
7483+
applicationId:
7484+
type: string
7485+
description: The ID of the application this request originates from, used to determine the configuration of underlying chat processes. This should correspond to the ID set during admin setup. If not specified, the default chat experience will be used.
7486+
agentId:
7487+
type: string
7488+
description: The ID of the Agent that should process this chat request. Only Agents with trigger set to 'User chat message' are invokable through this API. If not specified, the default chat experience will be used.
7489+
stream:
7490+
type: boolean
7491+
description: If set, response lines will be streamed one-by-one as they become available. Each will be a ChatResponse, formatted as JSON, and separated by a new line. If false, the entire response will be returned at once. Note that if this is set and the model being used does not support streaming, the model's response will not be streamed, but other messages from the endpoint still will be.
74837492
ChatResponse:
74847493
description: A single response from the /chat backend.
74857494
properties:

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.636.3
1+
speakeasyVersion: 1.638.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:1dc42ac3d5012271bce5ddf879010efb2f292ded5ce08d224bb1cd28fcc4558d
6-
sourceBlobDigest: sha256:fa9263107a00a7b99c1ea0d1c0100757e4abad76b9156a0c98186da8953f8f16
5+
sourceRevisionDigest: sha256:d7d301aaa9efeddb264ed6ae3d4186b8472d376b021c3f22f96d0c15e79c0ee6
6+
sourceBlobDigest: sha256:a97d8110c742a097fb206e255a509eb2407aec24dc4e9fb8dcacc9a6a52eb134
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1760583312
9+
- speakeasy-sdk-regen-1760999713
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:1dc42ac3d5012271bce5ddf879010efb2f292ded5ce08d224bb1cd28fcc4558d
21-
sourceBlobDigest: sha256:fa9263107a00a7b99c1ea0d1c0100757e4abad76b9156a0c98186da8953f8f16
20+
sourceRevisionDigest: sha256:d7d301aaa9efeddb264ed6ae3d4186b8472d376b021c3f22f96d0c15e79c0ee6
21+
sourceBlobDigest: sha256:a97d8110c742a097fb206e255a509eb2407aec24dc4e9fb8dcacc9a6a52eb134
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:c0d827ef14785e6dd39b1db016e2957246cd2c73a71693fd1ef691f7878c7917
23+
codeSamplesRevisionDigest: sha256:abdef7ef88aa0c1f53e27fbeb7135b40310218f3614256f70532ef9d39af53e5
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
@@ -308,4 +308,14 @@ Based on:
308308
### Generated
309309
- [python v0.10.3] .
310310
### Releases
311-
- [PyPI v0.10.3] https://pypi.org/project/glean/0.10.3 - .
311+
- [PyPI v0.10.3] https://pypi.org/project/glean/0.10.3 - .
312+
313+
## 2025-10-22 02:08:18
314+
### Changes
315+
Based on:
316+
- OpenAPI Doc
317+
- Speakeasy CLI 1.638.0 (2.728.0) https://github.com/speakeasy-api/speakeasy
318+
### Generated
319+
- [python v0.11.0] .
320+
### Releases
321+
- [PyPI v0.11.0] https://pypi.org/project/glean/0.11.0 - .

docs/models/agentconfig.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ Describes the agent that executes the request.
99
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
1010
| `agent` | [Optional[models.AgentEnum]](../models/agentenum.md) | :heavy_minus_sign: | Name of the agent. |
1111
| `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. |
12+
| `mode` | [Optional[models.Mode]](../models/mode.md) | :heavy_minus_sign: | Top level modes to run GleanChat in. |
13+
| `use_image_generation` | *Optional[bool]* | :heavy_minus_sign: | Whether the agent should create an image. |

0 commit comments

Comments
 (0)