Skip to content

Commit cb333ec

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.545.0
1 parent 1495541 commit cb333ec

File tree

95 files changed

+13545
-25115
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+13545
-25115
lines changed

.speakeasy/gen.lock

Lines changed: 99 additions & 46 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ generation:
2424
generateNewTests: true
2525
skipResponseBodyAssertions: true
2626
python:
27-
version: 0.3.0
27+
version: 0.4.0
2828
additionalDependencies:
2929
dev: {}
3030
main: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 306 additions & 117 deletions
Large diffs are not rendered by default.

.speakeasy/tests.arazzo.yaml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164013,3 +164013,79 @@ workflows:
164013164013
"{\"messages\":[{\"author\":\"GLEAN_AI\",\"messageType\":\"CONTENT\",\"agentConfig\":{\"agent\":\"DEFAULT\",\"mode\":\"DEFAULT\"},\"citations\":[{\"sourceDocument\":{\"id\":\"123\",\"title\":\"Company Handbook\",\"referenceRanges\":[{\"textRange\":{\"startIndex\":0,\"endIndex\":12,\"type\":\"CITATION\"}}]}}]}]}"
164014164014
type: simple
164015164015
x-speakeasy-test-group: client_chat
164016+
- workflowId: getAgent
164017+
steps:
164018+
- stepId: test
164019+
operationId: getAgent
164020+
parameters:
164021+
- name: agent_id
164022+
in: path
164023+
value: <id>
164024+
successCriteria:
164025+
- condition: $statusCode == 200
164026+
- condition: $response.header.Content-Type == application/json
164027+
- context: $response.body
164028+
condition: |
164029+
{
164030+
"agent_id": "\u003cid\u003e",
164031+
"name": "\u003cvalue\u003e",
164032+
"capabilities": {}
164033+
}
164034+
type: simple
164035+
x-speakeasy-test-group: Agents
164036+
- workflowId: getAgentSchemas
164037+
steps:
164038+
- stepId: test
164039+
operationId: getAgentSchemas
164040+
parameters:
164041+
- name: agent_id
164042+
in: path
164043+
value: <id>
164044+
successCriteria:
164045+
- condition: $statusCode == 200
164046+
- condition: $response.header.Content-Type == application/json
164047+
- context: $response.body
164048+
condition: |
164049+
{
164050+
"agent_id": "\u003cid\u003e",
164051+
"input_schema": {},
164052+
"output_schema": {}
164053+
}
164054+
type: simple
164055+
x-speakeasy-test-group: Agents
164056+
- workflowId: searchAgents
164057+
steps:
164058+
- stepId: test
164059+
operationId: searchAgents
164060+
successCriteria:
164061+
- condition: $statusCode == 200
164062+
- condition: $response.header.Content-Type == application/json
164063+
- context: $response.body
164064+
condition: |
164065+
{}
164066+
type: simple
164067+
x-speakeasy-test-group: Agents
164068+
- workflowId: createAndStreamRun
164069+
steps:
164070+
- stepId: test
164071+
operationId: createAndStreamRun
164072+
successCriteria:
164073+
- condition: $statusCode == 200
164074+
- condition: $response.header.Content-Type == text/event-stream
164075+
- context: $response.body
164076+
condition: |
164077+
"\u003cvalue\u003e"
164078+
type: simple
164079+
x-speakeasy-test-group: Agents
164080+
- workflowId: createAndWaitRun
164081+
steps:
164082+
- stepId: test
164083+
operationId: createAndWaitRun
164084+
successCriteria:
164085+
- condition: $statusCode == 200
164086+
- condition: $response.header.Content-Type == application/json
164087+
- context: $response.body
164088+
condition: |
164089+
{}
164090+
type: simple
164091+
x-speakeasy-test-group: Agents

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.543.4
1+
speakeasyVersion: 1.545.0
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:82bb62b5b7c3fdce61c9cf5c25bc2661f776c5ee5d007e9776961a08aabb8877
6-
sourceBlobDigest: sha256:48b2f6720cfd61b99c4cf5dc168fab967984c5c20d2ac425b99ce326f3291647
5+
sourceRevisionDigest: sha256:dce4f7a504880bcecd350dbfcaabb6654be20893602c9f24aca3901d53caf5bb
6+
sourceBlobDigest: sha256:506715b91a22e7ddaf9a942e65f5b155150583aa90a9049a43c09de164931ab1
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1746756218
9+
- speakeasy-sdk-regen-1747100451
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:82bb62b5b7c3fdce61c9cf5c25bc2661f776c5ee5d007e9776961a08aabb8877
21-
sourceBlobDigest: sha256:48b2f6720cfd61b99c4cf5dc168fab967984c5c20d2ac425b99ce326f3291647
20+
sourceRevisionDigest: sha256:dce4f7a504880bcecd350dbfcaabb6654be20893602c9f24aca3901d53caf5bb
21+
sourceBlobDigest: sha256:506715b91a22e7ddaf9a942e65f5b155150583aa90a9049a43c09de164931ab1
2222
codeSamplesNamespace: glean-api-specs-python-code-samples
23-
codeSamplesRevisionDigest: sha256:d38b6417892fee6a7e579263603b0810bba17f621e75c450aea18059d7812d7f
23+
codeSamplesRevisionDigest: sha256:649ab2ec226b451fcffe07ab8f21ccd1a3f626fc521d8d55657d6e12956d4161
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,14 @@ For more information on obtaining the appropriate token type, please contact you
334334
<details open>
335335
<summary>Available methods</summary>
336336

337+
### [agents](docs/sdks/agents/README.md)
338+
339+
* [get_agent](docs/sdks/agents/README.md#get_agent) - Get Agent
340+
* [get_agent_schemas](docs/sdks/agents/README.md#get_agent_schemas) - Get Agent Schemas
341+
* [search_agents](docs/sdks/agents/README.md#search_agents) - Search Agents
342+
* [create_and_stream_run](docs/sdks/agents/README.md#create_and_stream_run) - Create Run, Stream Output
343+
* [create_and_wait_run](docs/sdks/agents/README.md#create_and_wait_run) - Create Run, Wait for Output
344+
337345
### [client](docs/sdks/client/README.md)
338346

339347

@@ -342,12 +350,6 @@ For more information on obtaining the appropriate token type, please contact you
342350
* [report](docs/sdks/clientactivity/README.md#report) - Report document activity
343351
* [feedback](docs/sdks/clientactivity/README.md#feedback) - Report client activity
344352

345-
#### [client.agents](docs/sdks/agents/README.md)
346-
347-
* [run](docs/sdks/agents/README.md#run) - Runs an Agent.
348-
* [list](docs/sdks/agents/README.md#list) - Lists all agents.
349-
* [retrieve_inputs](docs/sdks/agents/README.md#retrieve_inputs) - Gets the inputs to an agent.
350-
351353
#### [client.announcements](docs/sdks/announcements/README.md)
352354

353355
* [create](docs/sdks/announcements/README.md#create) - Create Announcement

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,14 @@ Based on:
3838
### Generated
3939
- [python v0.3.0] .
4040
### Releases
41-
- [PyPI v0.3.0] https://pypi.org/project/glean/0.3.0 - .
41+
- [PyPI v0.3.0] https://pypi.org/project/glean/0.3.0 - .
42+
43+
## 2025-05-16 01:40:22
44+
### Changes
45+
Based on:
46+
- OpenAPI Doc
47+
- Speakeasy CLI 1.545.0 (2.599.0) https://github.com/speakeasy-api/speakeasy
48+
### Generated
49+
- [python v0.4.0] .
50+
### Releases
51+
- [PyPI v0.4.0] https://pypi.org/project/glean/0.4.0 - .

docs/models/agent.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description | Example |
7-
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
8-
| `author` | [Optional[models.Person]](../models/person.md) | :heavy_minus_sign: | N/A | {<br/>"name": "George Clooney",<br/>"obfuscatedId": "abc123"<br/>} |
9-
| `create_timestamp` | *Optional[int]* | :heavy_minus_sign: | Server Unix timestamp of the creation time. | |
10-
| `last_update_timestamp` | *Optional[int]* | :heavy_minus_sign: | Server Unix timestamp of the last update time. | |
11-
| `last_updated_by` | [Optional[models.Person]](../models/person.md) | :heavy_minus_sign: | N/A | {<br/>"name": "George Clooney",<br/>"obfuscatedId": "abc123"<br/>} |
12-
| `id` | *Optional[str]* | :heavy_minus_sign: | The ID of the agent. | |
13-
| `name` | *Optional[str]* | :heavy_minus_sign: | The name of the agent. | |
14-
| `permissions` | [Optional[models.ObjectPermissions]](../models/objectpermissions.md) | :heavy_minus_sign: | N/A | |
6+
| Field | Type | Required | Description |
7+
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `agent_id` | *str* | :heavy_check_mark: | The ID of the agent. |
9+
| `name` | *str* | :heavy_check_mark: | The name of the agent |
10+
| `description` | *Optional[str]* | :heavy_minus_sign: | The description of the agent. |
11+
| `metadata` | [Optional[models.AgentMetadata]](../models/agentmetadata.md) | :heavy_minus_sign: | The agent metadata. |
12+
| `capabilities` | [models.AgentCapabilities](../models/agentcapabilities.md) | :heavy_check_mark: | Describes which protocol features the agent supports. In addition to the standard capabilities (prefixed with ap.), implementations can declare custom capabilities, named in reverse domain notation (eg. com.example.some.capability). |

docs/models/agentcapabilities.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# AgentCapabilities
2+
3+
Describes which protocol features the agent supports. In addition to the standard capabilities (prefixed with ap.), implementations can declare custom capabilities, named in reverse domain notation (eg. com.example.some.capability).
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
10+
| `ap_io_messages` | *Optional[bool]* | :heavy_minus_sign: | Whether the agent supports Messages as input/output/state. If true, the agent uses the `messages` key in threads/runs endpoints. |
11+
| `ap_io_streaming` | *Optional[bool]* | :heavy_minus_sign: | Whether the agent supports streaming output. |
12+
| `__pydantic_extra__` | Dict[str, *Any*] | :heavy_minus_sign: | N/A |
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# AgentExecutionStatus
2+
3+
The status of the run. One of 'error', 'success'.
4+
5+
6+
## Values
7+
8+
| Name | Value |
9+
| --------- | --------- |
10+
| `ERROR` | error |
11+
| `SUCCESS` | success |

0 commit comments

Comments
 (0)