File tree Expand file tree Collapse file tree
src/dedalus_labs/types/shared_params Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33from __future__ import annotations
44
5- from typing import Dict , Union , Optional
6- from typing_extensions import Literal , TypeAlias , TypedDict
5+ from typing import Optional
6+ from typing_extensions import Literal , TypedDict
77
88__all__ = ["Reasoning" ]
99
1010
11- class ReasoningTyped (TypedDict , total = False ):
11+ class Reasoning (TypedDict , total = False , extra_items = object ): # type: ignore[call-arg]
1212 """**gpt-5 and o-series models only**
1313
1414 Configuration options for
@@ -20,6 +20,3 @@ class ReasoningTyped(TypedDict, total=False):
2020 generate_summary : Optional [Literal ["auto" , "concise" , "detailed" ]]
2121
2222 summary : Optional [Literal ["auto" , "concise" , "detailed" ]]
23-
24-
25- Reasoning : TypeAlias = Union [ReasoningTyped , Dict [str , object ]]
You can’t perform that action at this time.
0 commit comments