Skip to content

Commit 6a95e19

Browse files
chore: improve example values
1 parent 1281f9d commit 6a95e19

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/api_resources/messages/test_batch.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def test_method_create(self, client: Agentex) -> None:
2626
{
2727
"author": "user",
2828
"content": "content",
29+
"type": "text",
2930
}
3031
],
3132
task_id="task_id",
@@ -40,6 +41,7 @@ def test_raw_response_create(self, client: Agentex) -> None:
4041
{
4142
"author": "user",
4243
"content": "content",
44+
"type": "text",
4345
}
4446
],
4547
task_id="task_id",
@@ -58,6 +60,7 @@ def test_streaming_response_create(self, client: Agentex) -> None:
5860
{
5961
"author": "user",
6062
"content": "content",
63+
"type": "text",
6164
}
6265
],
6366
task_id="task_id",
@@ -79,6 +82,7 @@ def test_method_update(self, client: Agentex) -> None:
7982
"foo": {
8083
"author": "user",
8184
"content": "content",
85+
"type": "text",
8286
}
8387
},
8488
)
@@ -93,6 +97,7 @@ def test_raw_response_update(self, client: Agentex) -> None:
9397
"foo": {
9498
"author": "user",
9599
"content": "content",
100+
"type": "text",
96101
}
97102
},
98103
)
@@ -111,6 +116,7 @@ def test_streaming_response_update(self, client: Agentex) -> None:
111116
"foo": {
112117
"author": "user",
113118
"content": "content",
119+
"type": "text",
114120
}
115121
},
116122
) as response:
@@ -136,6 +142,7 @@ async def test_method_create(self, async_client: AsyncAgentex) -> None:
136142
{
137143
"author": "user",
138144
"content": "content",
145+
"type": "text",
139146
}
140147
],
141148
task_id="task_id",
@@ -150,6 +157,7 @@ async def test_raw_response_create(self, async_client: AsyncAgentex) -> None:
150157
{
151158
"author": "user",
152159
"content": "content",
160+
"type": "text",
153161
}
154162
],
155163
task_id="task_id",
@@ -168,6 +176,7 @@ async def test_streaming_response_create(self, async_client: AsyncAgentex) -> No
168176
{
169177
"author": "user",
170178
"content": "content",
179+
"type": "text",
171180
}
172181
],
173182
task_id="task_id",
@@ -189,6 +198,7 @@ async def test_method_update(self, async_client: AsyncAgentex) -> None:
189198
"foo": {
190199
"author": "user",
191200
"content": "content",
201+
"type": "text",
192202
}
193203
},
194204
)
@@ -203,6 +213,7 @@ async def test_raw_response_update(self, async_client: AsyncAgentex) -> None:
203213
"foo": {
204214
"author": "user",
205215
"content": "content",
216+
"type": "text",
206217
}
207218
},
208219
)
@@ -221,6 +232,7 @@ async def test_streaming_response_update(self, async_client: AsyncAgentex) -> No
221232
"foo": {
222233
"author": "user",
223234
"content": "content",
235+
"type": "text",
224236
}
225237
},
226238
) as response:

0 commit comments

Comments
 (0)