Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
172 changes: 6 additions & 166 deletions tests/api_resources/chat/test_completions.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,97 +43,17 @@ def test_method_create_with_all_params(self, client: Arcade) -> None:
"name": "name",
},
"type": "function",
},
{
"id": "id",
"function": {
"arguments": "arguments",
"name": "name",
},
"type": "function",
},
{
"id": "id",
"function": {
"arguments": "arguments",
"name": "name",
},
"type": "function",
},
],
},
{
"content": "content",
"role": "role",
"name": "name",
"tool_call_id": "tool_call_id",
"tool_calls": [
{
"id": "id",
"function": {
"arguments": "arguments",
"name": "name",
},
"type": "function",
},
{
"id": "id",
"function": {
"arguments": "arguments",
"name": "name",
},
"type": "function",
},
{
"id": "id",
"function": {
"arguments": "arguments",
"name": "name",
},
"type": "function",
},
],
},
{
"content": "content",
"role": "role",
"name": "name",
"tool_call_id": "tool_call_id",
"tool_calls": [
{
"id": "id",
"function": {
"arguments": "arguments",
"name": "name",
},
"type": "function",
},
{
"id": "id",
"function": {
"arguments": "arguments",
"name": "name",
},
"type": "function",
},
{
"id": "id",
"function": {
"arguments": "arguments",
"name": "name",
},
"type": "function",
},
}
],
},
}
],
model="model",
n=0,
parallel_tool_calls=True,
presence_penalty=0,
response_format="json_object",
seed=0,
stop=["string", "string", "string"],
stop=["string"],
stream=True,
stream_options={"include_usage": True},
temperature=0,
Expand Down Expand Up @@ -195,97 +115,17 @@ async def test_method_create_with_all_params(self, async_client: AsyncArcade) ->
"name": "name",
},
"type": "function",
},
{
"id": "id",
"function": {
"arguments": "arguments",
"name": "name",
},
"type": "function",
},
{
"id": "id",
"function": {
"arguments": "arguments",
"name": "name",
},
"type": "function",
},
],
},
{
"content": "content",
"role": "role",
"name": "name",
"tool_call_id": "tool_call_id",
"tool_calls": [
{
"id": "id",
"function": {
"arguments": "arguments",
"name": "name",
},
"type": "function",
},
{
"id": "id",
"function": {
"arguments": "arguments",
"name": "name",
},
"type": "function",
},
{
"id": "id",
"function": {
"arguments": "arguments",
"name": "name",
},
"type": "function",
},
],
},
{
"content": "content",
"role": "role",
"name": "name",
"tool_call_id": "tool_call_id",
"tool_calls": [
{
"id": "id",
"function": {
"arguments": "arguments",
"name": "name",
},
"type": "function",
},
{
"id": "id",
"function": {
"arguments": "arguments",
"name": "name",
},
"type": "function",
},
{
"id": "id",
"function": {
"arguments": "arguments",
"name": "name",
},
"type": "function",
},
}
],
},
}
],
model="model",
n=0,
parallel_tool_calls=True,
presence_penalty=0,
response_format="json_object",
seed=0,
stop=["string", "string", "string"],
stop=["string"],
stream=True,
stream_options={"include_usage": True},
temperature=0,
Expand Down
4 changes: 2 additions & 2 deletions tests/api_resources/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def test_method_authorize(self, client: Arcade) -> None:
def test_method_authorize_with_all_params(self, client: Arcade) -> None:
auth = client.auth.authorize(
auth_requirement={
"oauth2": {"scopes": ["string", "string", "string"]},
"oauth2": {"scopes": ["string"]},
"provider_id": "provider_id",
"provider_type": "provider_type",
},
Expand Down Expand Up @@ -119,7 +119,7 @@ async def test_method_authorize(self, async_client: AsyncArcade) -> None:
async def test_method_authorize_with_all_params(self, async_client: AsyncArcade) -> None:
auth = await async_client.auth.authorize(
auth_requirement={
"oauth2": {"scopes": ["string", "string", "string"]},
"oauth2": {"scopes": ["string"]},
"provider_id": "provider_id",
"provider_type": "provider_type",
},
Expand Down