test(cache): expect implicit chat lookup

This commit is contained in:
Simon Sorg 2026-09-25 16:10:38 +02:00
parent 8860969ce8
commit b1084f07b6
No known key found for this signature in database

View file

@ -3627,7 +3627,7 @@ def test_completion_default_api_base_sends_prompt_cache_breakpoint_for_gpt_5_6()
assert request_body["messages"][0]["content"] == [
{"type": "text", "text": "sys", "prompt_cache_breakpoint": {"mode": "explicit"}}
]
assert request_body["extra_body"]["prompt_cache_options"] == {"mode": "explicit"}
assert request_body["extra_body"]["prompt_cache_options"] == {"mode": "implicit"}
_SUBSCRIPTION_OAUTH_CREDENTIAL = "Bearer sk-ant-oat01-fake-subscription-token-for-testing-0123456789"