mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 01:50:44 +00:00
Merged via squash.
Prepared head SHA: 4ccd4c5fc0
Co-authored-by: hxy91819 <8814856+hxy91819@users.noreply.github.com>
Co-authored-by: hxy91819 <8814856+hxy91819@users.noreply.github.com>
Reviewed-by: @hxy91819
25 lines
647 B
JSON
25 lines
647 B
JSON
{
|
|
"name": "fenced singleton retries after malformed raw output",
|
|
"mode": "doc_body_chunked",
|
|
"rel_path": "gateway/configuration-reference.md",
|
|
"source_file": "source.txt",
|
|
"expected_output_contains": [
|
|
"Translated line 01",
|
|
"Translated line 02",
|
|
"Translated line 03",
|
|
"Translated line 04"
|
|
],
|
|
"expected_output_not_contains": ["Line 01", "Line 02", "Line 03", "Line 04"],
|
|
"rules": [
|
|
{
|
|
"method": "raw",
|
|
"match_all": ["Line 01", "Line 04"],
|
|
"response_file": "raw-malformed.txt"
|
|
},
|
|
{
|
|
"method": "raw",
|
|
"replace_pairs": [{ "from": "Line ", "to": "Translated line " }]
|
|
}
|
|
]
|
|
}
|