mirror of
https://github.com/razzant/ouroboros.git
synced 2026-10-03 04:07:04 +00:00
Align standard retry header test
Co-authored-by: Claudexor <noreply@claudexor.dev>
This commit is contained in:
parent
e5387d5f14
commit
992a184e35
1 changed files with 2 additions and 1 deletions
|
|
@ -265,7 +265,8 @@ def test_anthropic_fast_rate_refusal_releases_then_sends_standard(transport, mon
|
|||
"anthropic::test-model", processing_preference="fast")
|
||||
assert message["content"] == "ok"
|
||||
assert [entry["payload"]["speed"] for entry in sent] == ["fast", "standard"]
|
||||
assert sent[0]["headers"] == sent[1]["headers"]
|
||||
assert "fast-mode-2026-02-01" in sent[0]["headers"].get("anthropic-beta", "")
|
||||
assert "fast-mode-2026-02-01" not in sent[1]["headers"].get("anthropic-beta", "")
|
||||
rows = [json.loads(line) for line in (root / ua.LEDGER_REL).read_text().splitlines()]
|
||||
assert [row["state"] for row in {r["attempt_id"]: r for r in rows}.values()] == ["released", "settled"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue