This commit is contained in:
33
fixtures/contract/api_batch_file_with_configs_async.json
Normal file
33
fixtures/contract/api_batch_file_with_configs_async.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"id": "api_batch_file_with_configs_async",
|
||||
"description": "Tests async batch file extraction with per-file configs (batch_extract_files with file_configs parameter)",
|
||||
"tags": ["contract", "api", "batch", "file_config"],
|
||||
"call": "extract_file",
|
||||
"input": {
|
||||
"path": "pdf/fake_memo.pdf",
|
||||
"config": {
|
||||
"output_format": "markdown"
|
||||
}
|
||||
},
|
||||
"assertions": [
|
||||
{
|
||||
"type": "equals",
|
||||
"field": "mime_type",
|
||||
"value": "application/pdf"
|
||||
},
|
||||
{
|
||||
"type": "min_length",
|
||||
"field": "content",
|
||||
"value": 10
|
||||
},
|
||||
{
|
||||
"type": "equals",
|
||||
"field": "metadata.output_format",
|
||||
"value": "markdown"
|
||||
}
|
||||
],
|
||||
"skip": {
|
||||
"languages": ["wasm"],
|
||||
"reason": "WASM uses synchronous-only API; async extraction is not available on the wasm target"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user