Skip to content

Commit 630ea57

Browse files
feat(api): update via SDK Studio
1 parent e88634a commit 630ea57

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-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: 16
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-3c79948402e96d2aae6e46095db2cf80759750d1b042d6f91281a72c415b14de.yml
3-
openapi_spec_hash: f9c2fc5988f0a30397929995c2be2c85
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-129afed79c2ff0ae5f660a17af692c0f716b0d61ce62700f107c1d905346793e.yml
3+
openapi_spec_hash: 4bc73b4bfb67367575ac7b582b77d912
44
config_hash: 61e8ad6b1bd35aec38a7b20a2570b967

src/opencode_ai/resources/session.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ def chat(
174174
Create and send a new message to a session
175175
176176
Args:
177+
session_id: Session ID
178+
177179
extra_headers: Send extra headers
178180
179181
extra_query: Add additional query parameters to the request
@@ -534,6 +536,8 @@ async def chat(
534536
Create and send a new message to a session
535537
536538
Args:
539+
session_id: Session ID
540+
537541
extra_headers: Send extra headers
538542
539543
extra_query: Add additional query parameters to the request

src/opencode_ai/types/session_chat_params.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ class SessionChatParams(TypedDict, total=False):
1919
provider_id: Required[Annotated[str, PropertyInfo(alias="providerID")]]
2020

2121
session_id: Required[Annotated[str, PropertyInfo(alias="sessionID")]]
22+
"""Session ID"""

0 commit comments

Comments
 (0)