fix(projekt-matching): nice-heading exception in extract prompt; lock enable_thinking in tests

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
tlg
2026-07-09 16:09:58 +02:00
parent 53b5de28bc
commit a36ea14b84
2 changed files with 7 additions and 3 deletions

View File

@@ -25,6 +25,7 @@ def test_chat_json_strips_think_and_parses():
assert out == {"a": 1}
body = p.call_args.kwargs["json"]
assert "max_tokens" not in body
assert body["chat_template_kwargs"] == {"enable_thinking": False}
assert body["response_format"]["json_schema"]["schema"] == {"type": "object"}