mirror of
https://github.com/Alishahryar1/free-claude-code.git
synced 2026-04-28 11:30:03 +00:00
Add per-model thinking toggles
This commit is contained in:
parent
180c942af7
commit
f29e693dc5
21 changed files with 220 additions and 54 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue