feat: enable gpt5.1 models [LET-6178] (#6175)

* hack at gpt51

* revert package lock

* first hack

* default context window

---------

Co-authored-by: Ari Webb <ari@letta.com>
This commit is contained in:
Ari Webb
2025-11-18 14:59:16 -08:00
committed by Caren Thomas
parent 7ce33c4f22
commit 7380eaec13
7 changed files with 75 additions and 29 deletions

View File

@@ -367,7 +367,7 @@ def test_reasoning_toggle_by_provider(
expected_enable_reasoner: bool,
expected_put_inner_thoughts_in_kwargs: bool,
expected_max_reasoning_tokens: int,
expected_reasoning_effort: Optional[Literal["minimal", "low", "medium", "high"]],
expected_reasoning_effort: Optional[Literal["none", "minimal", "low", "medium", "high"]],
):
model_endpoint_type, model = handle.split("/")
config = LLMConfig(