File tree Expand file tree Collapse file tree 13 files changed +69
-37
lines changed
speakeasyusagegen/.speakeasy/logs Expand file tree Collapse file tree 13 files changed +69
-37
lines changed Original file line number Diff line number Diff line change 11lockVersion: 2.0.0
22id: 3e3290ca-0ee8-4981-b1bc-14536048fa63
33management:
4- docChecksum: 5a4cd8de1e6ca5f701ac27e244d09799
4+ docChecksum: b2dac5fb4d17f2fb026bab8769a8b93c
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"
Original file line number Diff line number Diff 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
2931python :
30- version : 0.10.3
32+ version : 0.11.0
3133 additionalDependencies :
3234 dev : {}
3335 main : {}
Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff line change 1- speakeasyVersion: 1.636.3
1+ speakeasyVersion: 1.638.0
22sources:
33 Glean API:
44 sourceNamespace: glean-api-specs
5- sourceRevisionDigest: sha256:1dc42ac3d5012271bce5ddf879010efb2f292ded5ce08d224bb1cd28fcc4558d
6- sourceBlobDigest: sha256:fa9263107a00a7b99c1ea0d1c0100757e4abad76b9156a0c98186da8953f8f16
5+ sourceRevisionDigest: sha256:36dad10d874e26ca562da4066f525df1f6aad9fd8fd42ee96566c477df85a621
6+ sourceBlobDigest: sha256:d9d3121883af870b3d5f5b5ea344c202e4c18a932912c2851f64e716a5a3bc00
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:36dad10d874e26ca562da4066f525df1f6aad9fd8fd42ee96566c477df85a621
21+ sourceBlobDigest: sha256:d9d3121883af870b3d5f5b5ea344c202e4c18a932912c2851f64e716a5a3bc00
2222 codeSamplesNamespace: glean-api-specs-python-code-samples
23- codeSamplesRevisionDigest: sha256:c0d827ef14785e6dd39b1db016e2957246cd2c73a71693fd1ef691f7878c7917
23+ codeSamplesRevisionDigest: sha256:abdef7ef88aa0c1f53e27fbeb7135b40310218f3614256f70532ef9d39af53e5
2424workflow:
2525 workflowVersion: 1.0.0
2626 speakeasyVersion: latest
Original file line number Diff line number Diff 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 01:39:45
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 - .
Original file line number Diff line number Diff 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. |
Original file line number Diff line number Diff line change 11[project ]
22name = " glean-api-client"
3- version = " 0.10.3 "
3+ version = " 0.11.0 "
44description = " Python Client SDK Generated by Speakeasy."
55authors = [{ name = " Glean Technologies, Inc." }]
66license = " MIT"
Original file line number Diff line number Diff line change @@ -588,7 +588,7 @@ Chat (SDK empty)
588588ChatRequest (timezoneOffset: integer, ChatRequest: ChatRequest)
589589 ChatRequest (saveChat: boolean, chatId: string, messages: array ...)
590590 ChatMessage (agentConfig: AgentConfig, author: enum, citations: array ...)
591- AgentConfig (agent: enum, toolSets: ToolSets, mode: enum)
591+ AgentConfig (agent: enum, toolSets: ToolSets, mode: enum ... )
592592 AgentEnum (enum: DEFAULT, GPT, UNIVERSAL ...)
593593 ToolSets (enableWebSearch: boolean, enableCompanyTools: boolean)
594594 Mode (enum: DEFAULT, QUICK)
Original file line number Diff line number Diff line change 33import importlib .metadata
44
55__title__ : str = "glean"
6- __version__ : str = "0.10.3 "
6+ __version__ : str = "0.11.0 "
77__openapi_doc_version__ : str = "0.9.0"
8- __gen_version__ : str = "2.723.11 "
9- __user_agent__ : str = "speakeasy-sdk/python 0.10.3 2.723.11 0.9.0 glean"
8+ __gen_version__ : str = "2.728.0 "
9+ __user_agent__ : str = "speakeasy-sdk/python 0.11.0 2.728.0 0.9.0 glean"
1010
1111try :
1212 if __package__ is not None :
Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ class AgentConfigTypedDict(TypedDict):
3535 r"""The types of tools that the agent is allowed to use. Only works with FAST and ADVANCED `agent` values"""
3636 mode : NotRequired [Mode ]
3737 r"""Top level modes to run GleanChat in."""
38+ use_image_generation : NotRequired [bool ]
39+ r"""Whether the agent should create an image."""
3840
3941
4042class AgentConfig (BaseModel ):
@@ -48,3 +50,8 @@ class AgentConfig(BaseModel):
4850
4951 mode : Optional [Mode ] = None
5052 r"""Top level modes to run GleanChat in."""
53+
54+ use_image_generation : Annotated [
55+ Optional [bool ], pydantic .Field (alias = "useImageGeneration" )
56+ ] = None
57+ r"""Whether the agent should create an image."""
You can’t perform that action at this time.
0 commit comments