Skip to content

Commit e062989

Browse files
chore: rebuild project due to codegen change (#41)
1 parent 825a3e3 commit e062989

File tree

2 files changed

+8
-168
lines changed

2 files changed

+8
-168
lines changed

tests/api_resources/chat/test_completions.py

Lines changed: 6 additions & 166 deletions
Original file line numberDiff line numberDiff line change
@@ -43,97 +43,17 @@ def test_method_create_with_all_params(self, client: Arcade) -> None:
4343
"name": "name",
4444
},
4545
"type": "function",
46-
},
47-
{
48-
"id": "id",
49-
"function": {
50-
"arguments": "arguments",
51-
"name": "name",
52-
},
53-
"type": "function",
54-
},
55-
{
56-
"id": "id",
57-
"function": {
58-
"arguments": "arguments",
59-
"name": "name",
60-
},
61-
"type": "function",
62-
},
63-
],
64-
},
65-
{
66-
"content": "content",
67-
"role": "role",
68-
"name": "name",
69-
"tool_call_id": "tool_call_id",
70-
"tool_calls": [
71-
{
72-
"id": "id",
73-
"function": {
74-
"arguments": "arguments",
75-
"name": "name",
76-
},
77-
"type": "function",
78-
},
79-
{
80-
"id": "id",
81-
"function": {
82-
"arguments": "arguments",
83-
"name": "name",
84-
},
85-
"type": "function",
86-
},
87-
{
88-
"id": "id",
89-
"function": {
90-
"arguments": "arguments",
91-
"name": "name",
92-
},
93-
"type": "function",
94-
},
95-
],
96-
},
97-
{
98-
"content": "content",
99-
"role": "role",
100-
"name": "name",
101-
"tool_call_id": "tool_call_id",
102-
"tool_calls": [
103-
{
104-
"id": "id",
105-
"function": {
106-
"arguments": "arguments",
107-
"name": "name",
108-
},
109-
"type": "function",
110-
},
111-
{
112-
"id": "id",
113-
"function": {
114-
"arguments": "arguments",
115-
"name": "name",
116-
},
117-
"type": "function",
118-
},
119-
{
120-
"id": "id",
121-
"function": {
122-
"arguments": "arguments",
123-
"name": "name",
124-
},
125-
"type": "function",
126-
},
46+
}
12747
],
128-
},
48+
}
12949
],
13050
model="model",
13151
n=0,
13252
parallel_tool_calls=True,
13353
presence_penalty=0,
13454
response_format="json_object",
13555
seed=0,
136-
stop=["string", "string", "string"],
56+
stop=["string"],
13757
stream=True,
13858
stream_options={"include_usage": True},
13959
temperature=0,
@@ -195,97 +115,17 @@ async def test_method_create_with_all_params(self, async_client: AsyncArcade) ->
195115
"name": "name",
196116
},
197117
"type": "function",
198-
},
199-
{
200-
"id": "id",
201-
"function": {
202-
"arguments": "arguments",
203-
"name": "name",
204-
},
205-
"type": "function",
206-
},
207-
{
208-
"id": "id",
209-
"function": {
210-
"arguments": "arguments",
211-
"name": "name",
212-
},
213-
"type": "function",
214-
},
215-
],
216-
},
217-
{
218-
"content": "content",
219-
"role": "role",
220-
"name": "name",
221-
"tool_call_id": "tool_call_id",
222-
"tool_calls": [
223-
{
224-
"id": "id",
225-
"function": {
226-
"arguments": "arguments",
227-
"name": "name",
228-
},
229-
"type": "function",
230-
},
231-
{
232-
"id": "id",
233-
"function": {
234-
"arguments": "arguments",
235-
"name": "name",
236-
},
237-
"type": "function",
238-
},
239-
{
240-
"id": "id",
241-
"function": {
242-
"arguments": "arguments",
243-
"name": "name",
244-
},
245-
"type": "function",
246-
},
247-
],
248-
},
249-
{
250-
"content": "content",
251-
"role": "role",
252-
"name": "name",
253-
"tool_call_id": "tool_call_id",
254-
"tool_calls": [
255-
{
256-
"id": "id",
257-
"function": {
258-
"arguments": "arguments",
259-
"name": "name",
260-
},
261-
"type": "function",
262-
},
263-
{
264-
"id": "id",
265-
"function": {
266-
"arguments": "arguments",
267-
"name": "name",
268-
},
269-
"type": "function",
270-
},
271-
{
272-
"id": "id",
273-
"function": {
274-
"arguments": "arguments",
275-
"name": "name",
276-
},
277-
"type": "function",
278-
},
118+
}
279119
],
280-
},
120+
}
281121
],
282122
model="model",
283123
n=0,
284124
parallel_tool_calls=True,
285125
presence_penalty=0,
286126
response_format="json_object",
287127
seed=0,
288-
stop=["string", "string", "string"],
128+
stop=["string"],
289129
stream=True,
290130
stream_options={"include_usage": True},
291131
temperature=0,

tests/api_resources/test_auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def test_method_authorize(self, client: Arcade) -> None:
2929
def test_method_authorize_with_all_params(self, client: Arcade) -> None:
3030
auth = client.auth.authorize(
3131
auth_requirement={
32-
"oauth2": {"scopes": ["string", "string", "string"]},
32+
"oauth2": {"scopes": ["string"]},
3333
"provider_id": "provider_id",
3434
"provider_type": "provider_type",
3535
},
@@ -119,7 +119,7 @@ async def test_method_authorize(self, async_client: AsyncArcade) -> None:
119119
async def test_method_authorize_with_all_params(self, async_client: AsyncArcade) -> None:
120120
auth = await async_client.auth.authorize(
121121
auth_requirement={
122-
"oauth2": {"scopes": ["string", "string", "string"]},
122+
"oauth2": {"scopes": ["string"]},
123123
"provider_id": "provider_id",
124124
"provider_type": "provider_type",
125125
},

0 commit comments

Comments
 (0)