Skip to content

Commit 8cbc1ca

Browse files
feat(api): add role and sender_execution_id fields to agent messages
1 parent f7b21f6 commit 8cbc1ca

4 files changed

Lines changed: 12 additions & 3 deletions

File tree

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 180
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-b4ac05534b28936c4fe9d86221fb30415a39826e6a5414b5a7ffb2ad87a021ed.yml
3-
openapi_spec_hash: c5ae4a889864c5255ce9aa0a1fe98631
4-
config_hash: 9629844f3bf40631adbcfe7c739494a1
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-1a471dfdbf74746a2b480058a4f12e7664da70d99fcf8e14789872d8358533b7.yml
3+
openapi_spec_hash: 5f57f657ea599ad8d1be3388f45cd77a
4+
config_hash: 76ed1b5c38c855d3383b38deafebd1ae

api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ from gitpod.types import (
7070
Prompt,
7171
PromptMetadata,
7272
PromptSpec,
73+
Role,
7374
Type,
7475
UserInputBlock,
7576
AgentCreateExecutionConversationTokenResponse,

src/gitpod/types/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from __future__ import annotations
44

5+
from .role import Role as Role
56
from .type import Type as Type
67
from .user import User as User
78
from .veto import Veto as Veto

src/gitpod/types/role.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2+
3+
from typing_extensions import Literal, TypeAlias
4+
5+
__all__ = ["Role"]
6+
7+
Role: TypeAlias = Literal["ROLE_UNSPECIFIED", "ROLE_PARENT", "ROLE_CHILD"]

0 commit comments

Comments
 (0)