Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.env
.env.local
**/__pycache__/
**/.speakeasy/temp/
**/.speakeasy/logs/
Expand Down
52 changes: 36 additions & 16 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,22 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
hoistGlobalSecurity: true
mockServer:
disabled: false
tests:
generateTests: true
generateNewTests: true
skipResponseBodyAssertions: true
python:
version: 0.7.3
version: 0.8.0
additionalDependencies:
dev: {}
main: {}
allowedRedefinedBuiltins:
- id
- object
asyncMode: both
authors:
- Speakeasy
baseErrorName: GleanBaseError
Expand Down Expand Up @@ -65,4 +67,5 @@ python:
pytestFilterWarnings: []
pytestTimeout: 0
responseFormat: flat
sseFlatResponse: false
templateVersion: v2
172 changes: 165 additions & 7 deletions .speakeasy/glean-merged-spec.yaml

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
speakeasyVersion: 1.606.9
speakeasyVersion: 1.625.0
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:35193fded9c9797576c742f6e93e2e3e9d507aa2ab2c55a5458825561552f33e
sourceBlobDigest: sha256:1dc638c477afb69ccc30ba6482d7ac2e7237238d44638da8d0c4ece45f36d416
sourceRevisionDigest: sha256:a9b49b3146d88faffb25761f988ab0445ed0366b84774a13d4754cb0eb7a3b9b
sourceBlobDigest: sha256:4408853be9bce04865c08fd37b8c11320ffd3b79ef0c70ca8fa1791df0679b1f
tags:
- latest
- speakeasy-sdk-regen-1755200990
- speakeasy-sdk-regen-1758751971
Glean Client API:
sourceNamespace: glean-client-api
sourceRevisionDigest: sha256:4edc63ad559e4f2c9fb9ebf5edaaaaa9269f1874d271cfd84b441d6dacac43d2
Expand All @@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:35193fded9c9797576c742f6e93e2e3e9d507aa2ab2c55a5458825561552f33e
sourceBlobDigest: sha256:1dc638c477afb69ccc30ba6482d7ac2e7237238d44638da8d0c4ece45f36d416
sourceRevisionDigest: sha256:a9b49b3146d88faffb25761f988ab0445ed0366b84774a13d4754cb0eb7a3b9b
sourceBlobDigest: sha256:4408853be9bce04865c08fd37b8c11320ffd3b79ef0c70ca8fa1791df0679b1f
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:ec1033795495ed5feb092f4ca786534382c763ff1787a997db77303ef0539ad9
codeSamplesRevisionDigest: sha256:98a13a63cdf737a90dd1b7477ea6c0ce8a80bbd62c3e5bdce09ca7d65585e69b
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,4 +208,14 @@ Based on:
### Generated
- [python v0.7.3] .
### Releases
- [PyPI v0.7.3] https://pypi.org/project/glean/0.7.3 - .
- [PyPI v0.7.3] https://pypi.org/project/glean/0.7.3 - .

## 2025-09-24 22:12:26
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.625.0 (2.715.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.8.0] .
### Releases
- [PyPI v0.8.0] https://pypi.org/project/glean/0.8.0 - .
9 changes: 5 additions & 4 deletions docs/models/agentconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Describes the agent that executes the request.

## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- |
| `agent` | [Optional[models.AgentEnum]](../models/agentenum.md) | :heavy_minus_sign: | Name of the agent. |
| `mode` | [Optional[models.Mode]](../models/mode.md) | :heavy_minus_sign: | Top level modes to run GleanChat in. |
| Field | Type | Required | Description |
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| `agent` | [Optional[models.AgentEnum]](../models/agentenum.md) | :heavy_minus_sign: | Name of the agent. |
| `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 |
| `mode` | [Optional[models.Mode]](../models/mode.md) | :heavy_minus_sign: | Top level modes to run GleanChat in. |
4 changes: 3 additions & 1 deletion docs/models/agentenum.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ Name of the agent.
| ----------- | ----------- |
| `DEFAULT` | DEFAULT |
| `GPT` | GPT |
| `UNIVERSAL` | UNIVERSAL |
| `UNIVERSAL` | UNIVERSAL |
| `FAST` | FAST |
| `ADVANCED` | ADVANCED |
4 changes: 3 additions & 1 deletion docs/models/chat.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ A historical representation of a series of chat messages a user had with Glean A
| `application_id` | *Optional[str]* | :heavy_minus_sign: | The ID of the AI App that this Chat is associated to. | |
| `application_name` | *Optional[str]* | :heavy_minus_sign: | The display name of the AI App that this Chat is associated to. | |
| `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/>} |
| `messages` | List[[models.ChatMessage](../models/chatmessage.md)] | :heavy_minus_sign: | The chat messages within a Chat. | |
| `permissions` | [Optional[models.ObjectPermissions]](../models/objectpermissions.md) | :heavy_minus_sign: | N/A | |
| `messages` | List[[models.ChatMessage](../models/chatmessage.md)] | :heavy_minus_sign: | The chat messages within a Chat. | |
| `roles` | List[[models.UserRoleSpecification](../models/userrolespecification.md)] | :heavy_minus_sign: | A list of roles for this Chat. | |
2 changes: 1 addition & 1 deletion docs/models/chatmessagefragment.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ChatMessageFragment

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.
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.


## Fields
Expand Down
Loading