Add per-model thinking toggles

This commit is contained in:
Alishahryar1 2026-04-25 20:51:07 -07:00
parent 180c942af7
commit f29e693dc5
21 changed files with 220 additions and 54 deletions

View file

@ -100,7 +100,9 @@ def test_model_mapping(client: TestClient):
client.post("/v1/messages", json=payload_haiku)
assert len(_stream_response_calls) == 1
args = _stream_response_calls[0][0]
kwargs = _stream_response_calls[0][1]
assert args[0].model != "claude-3-haiku-20240307"
assert kwargs["thinking_enabled"] is True
def test_error_fallbacks(client: TestClient):