mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-02 07:13:02 +00:00
test(proxy): pin extraction state and fields out of a refused request's failure log
This commit is contained in:
parent
e9a4ad2533
commit
190ffbe57b
1 changed files with 9 additions and 0 deletions
|
|
@ -13350,6 +13350,15 @@ class TestUnroutableModelFailureLogHidesUnscannedContent:
|
|||
{"query": f"email {_RAW_EMAIL}", "instruction": f"email {_RAW_EMAIL}"},
|
||||
id="rerank-query-and-instruction",
|
||||
),
|
||||
pytest.param(
|
||||
{
|
||||
"state": f"email {_RAW_EMAIL}",
|
||||
"fields": {
|
||||
"contact": {"type": "string", "instructions": f"email {_RAW_EMAIL}", "unit": _RAW_EMAIL}
|
||||
},
|
||||
},
|
||||
id="extraction-state-and-fields",
|
||||
),
|
||||
],
|
||||
)
|
||||
async def test_failure_log_hides_every_field_a_skipped_guardrail_would_have_scanned(self, monkeypatch, body):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue