Skip to content

Commit b9105fa

Browse files
feat(api): add action name to the response to invoke
1 parent db655d7 commit b9105fa

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 19
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-84945582139b11633f792c1052a33e6af9cafc96bbafc2902a905312d14c4cc1.yml
3-
openapi_spec_hash: c77be216626b789a543529a6de56faed
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-5e4716f7fce42bbcecc7ecb699c1c467ae778d74d558f7a260d531e2af1a7f30.yml
3+
openapi_spec_hash: f545dcef9001b00c2604e3dcc6a12f7a
44
config_hash: 65328ff206b8c0168c915914506d9dba

src/kernel/types/invocation_create_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ class InvocationCreateResponse(BaseModel):
1212
id: str
1313
"""ID of the invocation"""
1414

15+
action_name: str
16+
"""Name of the action invoked"""
17+
1518
status: Literal["queued", "running", "succeeded", "failed"]
1619
"""Status of the invocation"""
1720

0 commit comments

Comments
 (0)