File tree Expand file tree Collapse file tree 1 file changed +2
-21
lines changed Expand file tree Collapse file tree 1 file changed +2
-21
lines changed Original file line number Diff line number Diff line change @@ -251,25 +251,6 @@ def test_get_markdownify_status_real():
251
251
assert "request_id" in status_response
252
252
253
253
254
- def test_crawl_basic_real ():
255
- """Test basic crawl"""
256
- if not os .getenv ("SGAI_API_KEY" ):
257
- pytest .skip ("SGAI_API_KEY not set" )
258
-
259
- data_schema = {
260
- "type" : "object" ,
261
- "properties" : {
262
- "title" : {"type" : "string" },
263
- "content" : {"type" : "string" }
264
- }
265
- }
266
-
267
- with Client .from_env () as client :
268
- client .crawl (
269
- url = "https://example.com" ,
270
- prompt = "Extract page information" ,
271
- data_schema = data_schema
272
- )
273
254
274
255
275
256
@@ -292,8 +273,8 @@ def test_crawl_with_all_params_real():
292
273
prompt = "Extract comprehensive page data" ,
293
274
data_schema = data_schema ,
294
275
cache_website = True ,
295
- depth = 2 ,
296
- max_pages = 3 ,
276
+ depth = 1 ,
277
+ max_pages = 1 ,
297
278
same_domain_only = True ,
298
279
batch_size = 5
299
280
)
You can’t perform that action at this time.
0 commit comments