feat(api): api update

This commit is contained in:
stainless-app[bot] 2025-07-28 17:05:21 +00:00
parent 4e7027e1d9
commit 1de4987d50
13 changed files with 139 additions and 104 deletions

View file

@ -163,6 +163,7 @@ class SessionResource(SyncAPIResource):
provider_id: str,
message_id: str | NotGiven = NOT_GIVEN,
mode: str | NotGiven = NOT_GIVEN,
system: str | NotGiven = NOT_GIVEN,
tools: Dict[str, bool] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@ -196,6 +197,7 @@ class SessionResource(SyncAPIResource):
"provider_id": provider_id,
"message_id": message_id,
"mode": mode,
"system": system,
"tools": tools,
},
session_chat_params.SessionChatParams,
@ -606,6 +608,7 @@ class AsyncSessionResource(AsyncAPIResource):
provider_id: str,
message_id: str | NotGiven = NOT_GIVEN,
mode: str | NotGiven = NOT_GIVEN,
system: str | NotGiven = NOT_GIVEN,
tools: Dict[str, bool] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@ -639,6 +642,7 @@ class AsyncSessionResource(AsyncAPIResource):
"provider_id": provider_id,
"message_id": message_id,
"mode": mode,
"system": system,
"tools": tools,
},
session_chat_params.SessionChatParams,