diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index e824db71..05c59018 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -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 diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 433d3cfe..2127e650 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -25,7 +25,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: true python: - version: 0.6.2 + version: 0.6.3 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml index ab8ce11e..c8c50dab 100644 --- a/.speakeasy/glean-merged-spec.yaml +++ b/.speakeasy/glean-merged-spec.yaml @@ -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: @@ -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 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 8c9b7540..80a8f88f 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -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 @@ -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 diff --git a/README.md b/README.md index e7208559..e3b54099 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/RELEASES.md b/RELEASES.md index 29bb13d3..7cc69781 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -128,4 +128,14 @@ Based on: ### Generated - [python v0.6.2] . ### Releases -- [PyPI v0.6.2] https://pypi.org/project/glean/0.6.2 - . \ No newline at end of file +- [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 - . \ No newline at end of file diff --git a/docs/models/agentschemas.md b/docs/models/agentschemas.md index 12b2c124..3535a940 100644 --- a/docs/models/agentschemas.md +++ b/docs/models/agentschemas.md @@ -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. | | \ No newline at end of file +| `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. | | \ No newline at end of file diff --git a/docs/models/inputschema.md b/docs/models/inputschema.md index 377688ab..6c2fc6ab 100644 --- a/docs/models/inputschema.md +++ b/docs/models/inputschema.md @@ -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 diff --git a/docs/models/outputschema.md b/docs/models/outputschema.md index 40cd0d95..4555c010 100644 --- a/docs/models/outputschema.md +++ b/docs/models/outputschema.md @@ -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 diff --git a/docs/sdks/agents/README.md b/docs/sdks/agents/README.md index 1f500295..1b881990 100644 --- a/docs/sdks/agents/README.md +++ b/docs/sdks/agents/README.md @@ -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 @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 843746cf..cf9b5c8e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/src/glean/api_client/_version.py b/src/glean/api_client/_version.py index aa208407..fa0612f2 100644 --- a/src/glean/api_client/_version.py +++ b/src/glean/api_client/_version.py @@ -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: diff --git a/src/glean/api_client/agents.py b/src/glean/api_client/agents.py index c6474a45..589fa6c0 100644 --- a/src/glean/api_client/agents.py +++ b/src/glean/api_client/agents.py @@ -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. @@ -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. diff --git a/src/glean/api_client/models/agentschemas.py b/src/glean/api_client/models/agentschemas.py index 313e7c35..9dd72561 100644 --- a/src/glean/api_client/models/agentschemas.py +++ b/src/glean/api_client/models/agentschemas.py @@ -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): @@ -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): @@ -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.""" diff --git a/tests/mockserver/internal/sdk/models/components/agentschemas.go b/tests/mockserver/internal/sdk/models/components/agentschemas.go index 0c6c6806..4fe8d12d 100644 --- a/tests/mockserver/internal/sdk/models/components/agentschemas.go +++ b/tests/mockserver/internal/sdk/models/components/agentschemas.go @@ -2,11 +2,11 @@ package components -// InputSchema - The schema for the agent input. In JSON schema format. +// InputSchema - The schema for the agent input. In JSON Schema format. type InputSchema struct { } -// OutputSchema - The schema for the agent output. In JSON schema format. +// OutputSchema - The schema for the agent output. In JSON Schema format. type OutputSchema struct { } @@ -14,9 +14,9 @@ type OutputSchema struct { type AgentSchemas struct { // The ID of the agent. AgentID string `json:"agent_id"` - // The schema for the agent input. In JSON schema format. + // The schema for the agent input. In JSON Schema format. InputSchema InputSchema `json:"input_schema"` - // The schema for the agent output. In JSON schema format. + // The schema for the agent output. In JSON Schema format. OutputSchema OutputSchema `json:"output_schema"` }