mirror of
https://github.com/anomalyco/opencode-sdk-python.git
synced 2026-05-20 18:02:37 +00:00
Merge f0dfcbc9f9 into 817f1a0816
This commit is contained in:
commit
1217433405
1 changed files with 2 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ class SessionResource(SyncAPIResource):
|
|||
"""Create a new session"""
|
||||
return self._post(
|
||||
"/session",
|
||||
body={},
|
||||
options=make_request_options(
|
||||
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
||||
),
|
||||
|
|
@ -508,6 +509,7 @@ class AsyncSessionResource(AsyncAPIResource):
|
|||
"""Create a new session"""
|
||||
return await self._post(
|
||||
"/session",
|
||||
body={},
|
||||
options=make_request_options(
|
||||
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue