mirror of
https://github.com/anomalyco/opencode-sdk-python.git
synced 2026-04-29 05:00:01 +00:00
feat(api): api update
This commit is contained in:
parent
5ae45651bd
commit
d19014d391
4 changed files with 2 additions and 18 deletions
|
|
@ -161,7 +161,6 @@ class SessionResource(SyncAPIResource):
|
|||
model_id: str,
|
||||
parts: Iterable[session_chat_params.Part],
|
||||
provider_id: str,
|
||||
session_id: str,
|
||||
message_id: str | NotGiven = NOT_GIVEN,
|
||||
mode: str | NotGiven = NOT_GIVEN,
|
||||
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
||||
|
|
@ -194,7 +193,6 @@ class SessionResource(SyncAPIResource):
|
|||
"model_id": model_id,
|
||||
"parts": parts,
|
||||
"provider_id": provider_id,
|
||||
"session_id": session_id,
|
||||
"message_id": message_id,
|
||||
"mode": mode,
|
||||
},
|
||||
|
|
@ -529,7 +527,6 @@ class AsyncSessionResource(AsyncAPIResource):
|
|||
model_id: str,
|
||||
parts: Iterable[session_chat_params.Part],
|
||||
provider_id: str,
|
||||
session_id: str,
|
||||
message_id: str | NotGiven = NOT_GIVEN,
|
||||
mode: str | NotGiven = NOT_GIVEN,
|
||||
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
||||
|
|
@ -562,7 +559,6 @@ class AsyncSessionResource(AsyncAPIResource):
|
|||
"model_id": model_id,
|
||||
"parts": parts,
|
||||
"provider_id": provider_id,
|
||||
"session_id": session_id,
|
||||
"message_id": message_id,
|
||||
"mode": mode,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue