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
6 changes: 3 additions & 3 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 3e3290ca-0ee8-4981-b1bc-14536048fa63
management:
docChecksum: a0748babeea2c91be038da9e477a97f3
docChecksum: 895c9d213122353173d7c129b2c8d4b7
docVersion: 0.9.0
speakeasyVersion: 1.557.0
generationVersion: 2.623.0
releaseVersion: 0.6.2
configChecksum: ab8ab0e8587f7623b82fc0b4371b04b9
releaseVersion: 0.6.3
configChecksum: f4420151b362f554dd36cc2e52ba1688
repoURL: https://github.com/gleanwork/api-client-python.git
installationURL: https://github.com/gleanwork/api-client-python.git
published: true
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
python:
version: 0.6.2
version: 0.6.3
additionalDependencies:
dev: {}
main: {}
Expand Down
8 changes: 4 additions & 4 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -945,8 +945,8 @@ paths:
post:
tags:
- Agents
summary: Create an [agent](https://developers.glean.com/agents/agents-api) run and wait for the response
description: Executes an agent run and returns the final response.
summary: Create an agent run and wait for the response
description: Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the final response.
operationId: createAndWaitRun
x-visibility: Preview
requestBody:
Expand Down Expand Up @@ -7475,11 +7475,11 @@ components:
input_schema:
type: object
title: Input Schema
description: The schema for the agent input. In JSON schema format.
description: The schema for the agent input. In JSON Schema format.
output_schema:
type: object
title: Output Schema
description: The schema for the agent output. In JSON schema format.
description: The schema for the agent output. In JSON Schema format.
type: object
required:
- agent_id
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ speakeasyVersion: 1.557.0
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:927ebf4c072ddb7d9c4a9501c375fb01ecf9f95a3b50fc73205f2c30e5863107
sourceBlobDigest: sha256:552c782f3b9cf6ed461abfbed82233620b573fa3c71fcb6d59dc5a02efd43d35
sourceRevisionDigest: sha256:d7ce1ceb600711b8e88b818186b93b6e4275f01811996d436752410c100339a4
sourceBlobDigest: sha256:e56c126a42ae3d72395b2891ac56b8f5264993a298d9d4f5e68748395cdd54cf
tags:
- latest
- speakeasy-sdk-regen-1749237128
- speakeasy-sdk-regen-1749247136
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:927ebf4c072ddb7d9c4a9501c375fb01ecf9f95a3b50fc73205f2c30e5863107
sourceBlobDigest: sha256:552c782f3b9cf6ed461abfbed82233620b573fa3c71fcb6d59dc5a02efd43d35
sourceRevisionDigest: sha256:d7ce1ceb600711b8e88b818186b93b6e4275f01811996d436752410c100339a4
sourceBlobDigest: sha256:e56c126a42ae3d72395b2891ac56b8f5264993a298d9d4f5e68748395cdd54cf
codeSamplesNamespace: glean-api-specs-python-code-samples
codeSamplesRevisionDigest: sha256:a4e3d3787a5f493fb7e73dc7f1a9a0826462cd51e6bc313b50e993958fb0bc7f
codeSamplesRevisionDigest: sha256:616f210191e4d9c7270884cda5aee3e53caa4a3c1eba93997f725bdd345eed8c
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ For more information on obtaining the appropriate token type, please contact you
* [retrieve_schemas](docs/sdks/agents/README.md#retrieve_schemas) - List an agent's schemas
* [list](docs/sdks/agents/README.md#list) - Search agents
* [run_stream](docs/sdks/agents/README.md#run_stream) - Create an agent run and stream the response
* [run](docs/sdks/agents/README.md#run) - Create an [agent](https://developers.glean.com/agents/agents-api) run and wait for the response
* [run](docs/sdks/agents/README.md#run) - Create an agent run and wait for the response

#### [client.announcements](docs/sdks/announcements/README.md)

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,14 @@ Based on:
### Generated
- [python v0.6.2] .
### Releases
- [PyPI v0.6.2] https://pypi.org/project/glean/0.6.2 - .
- [PyPI v0.6.2] https://pypi.org/project/glean/0.6.2 - .

## 2025-06-06 21:58:33
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.557.0 (2.623.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.6.3] .
### Releases
- [PyPI v0.6.3] https://pypi.org/project/glean/0.6.3 - .
4 changes: 2 additions & 2 deletions docs/models/agentschemas.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ Defines the structure and properties of an agent.
| Field | Type | Required | Description | Example |
| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- |
| `agent_id` | *str* | :heavy_check_mark: | The ID of the agent. | mho4lwzylcozgoc2 |
| `input_schema` | [models.InputSchema](../models/inputschema.md) | :heavy_check_mark: | The schema for the agent input. In JSON schema format. | |
| `output_schema` | [models.OutputSchema](../models/outputschema.md) | :heavy_check_mark: | The schema for the agent output. In JSON schema format. | |
| `input_schema` | [models.InputSchema](../models/inputschema.md) | :heavy_check_mark: | The schema for the agent input. In JSON Schema format. | |
| `output_schema` | [models.OutputSchema](../models/outputschema.md) | :heavy_check_mark: | The schema for the agent output. In JSON Schema format. | |
2 changes: 1 addition & 1 deletion docs/models/inputschema.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# InputSchema

The schema for the agent input. In JSON schema format.
The schema for the agent input. In JSON Schema format.


## Fields
Expand Down
2 changes: 1 addition & 1 deletion docs/models/outputschema.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# OutputSchema

The schema for the agent output. In JSON schema format.
The schema for the agent output. In JSON Schema format.


## Fields
Expand Down
4 changes: 2 additions & 2 deletions docs/sdks/agents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* [retrieve_schemas](#retrieve_schemas) - List an agent's schemas
* [list](#list) - Search agents
* [run_stream](#run_stream) - Create an agent run and stream the response
* [run](#run) - Create an [agent](https://developers.glean.com/agents/agents-api) run and wait for the response
* [run](#run) - Create an agent run and wait for the response

## retrieve

Expand Down Expand Up @@ -173,7 +173,7 @@ with Glean(

## run

Executes an agent run and returns the final response.
Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the final response.

### Example Usage

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "glean-api-client"
version = "0.6.2"
version = "0.6.3"
description = "Python Client SDK Generated by Speakeasy."
authors = [{ name = "Glean Technologies, Inc." }]
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions src/glean/api_client/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import importlib.metadata

__title__: str = "glean"
__version__: str = "0.6.2"
__version__: str = "0.6.3"
__openapi_doc_version__: str = "0.9.0"
__gen_version__: str = "2.623.0"
__user_agent__: str = "speakeasy-sdk/python 0.6.2 2.623.0 0.9.0 glean"
__user_agent__: str = "speakeasy-sdk/python 0.6.3 2.623.0 0.9.0 glean"

try:
if __package__ is not None:
Expand Down
8 changes: 4 additions & 4 deletions src/glean/api_client/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -818,9 +818,9 @@ def run(
timeout_ms: Optional[int] = None,
http_headers: Optional[Mapping[str, str]] = None,
) -> models.AgentRunWaitResponse:
r"""Create an [agent](https://developers.glean.com/agents/agents-api) run and wait for the response
r"""Create an agent run and wait for the response

Executes an agent run and returns the final response.
Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the final response.

:param agent_id: The ID of the agent to run.
:param input: The input to the agent.
Expand Down Expand Up @@ -925,9 +925,9 @@ async def run_async(
timeout_ms: Optional[int] = None,
http_headers: Optional[Mapping[str, str]] = None,
) -> models.AgentRunWaitResponse:
r"""Create an [agent](https://developers.glean.com/agents/agents-api) run and wait for the response
r"""Create an agent run and wait for the response

Executes an agent run and returns the final response.
Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the final response.

:param agent_id: The ID of the agent to run.
:param input: The input to the agent.
Expand Down
16 changes: 8 additions & 8 deletions src/glean/api_client/models/agentschemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@


class InputSchemaTypedDict(TypedDict):
r"""The schema for the agent input. In JSON schema format."""
r"""The schema for the agent input. In JSON Schema format."""


class InputSchema(BaseModel):
r"""The schema for the agent input. In JSON schema format."""
r"""The schema for the agent input. In JSON Schema format."""


class OutputSchemaTypedDict(TypedDict):
r"""The schema for the agent output. In JSON schema format."""
r"""The schema for the agent output. In JSON Schema format."""


class OutputSchema(BaseModel):
r"""The schema for the agent output. In JSON schema format."""
r"""The schema for the agent output. In JSON Schema format."""


class AgentSchemasTypedDict(TypedDict):
Expand All @@ -27,9 +27,9 @@ class AgentSchemasTypedDict(TypedDict):
agent_id: str
r"""The ID of the agent."""
input_schema: InputSchemaTypedDict
r"""The schema for the agent input. In JSON schema format."""
r"""The schema for the agent input. In JSON Schema format."""
output_schema: OutputSchemaTypedDict
r"""The schema for the agent output. In JSON schema format."""
r"""The schema for the agent output. In JSON Schema format."""


class AgentSchemas(BaseModel):
Expand All @@ -39,7 +39,7 @@ class AgentSchemas(BaseModel):
r"""The ID of the agent."""

input_schema: InputSchema
r"""The schema for the agent input. In JSON schema format."""
r"""The schema for the agent input. In JSON Schema format."""

output_schema: OutputSchema
r"""The schema for the agent output. In JSON schema format."""
r"""The schema for the agent output. In JSON Schema format."""

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.