modelparams 0.0.39__tar.gz → 0.0.40__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of modelparams might be problematic. Click here for more details.
- {modelparams-0.0.39 → modelparams-0.0.40}/PKG-INFO +1 -1
- {modelparams-0.0.39 → modelparams-0.0.40}/pyproject.toml +1 -1
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/_generated/catalog.json +99 -7
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/_generated/model_ids.py +2 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/_generated/registry.py +1 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/xai.py +18 -2
- {modelparams-0.0.39 → modelparams-0.0.40}/.gitignore +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/LICENSE +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/README.md +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/__init__.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/_generated/__init__.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/catalog.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/models.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/py.typed +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/__init__.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/alibaba.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/anthropic.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/bedrock.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/cerebras.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/cohere.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/deepseek.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/fireworks.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/google.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/groq.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/meta.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/minimax.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/mistral.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/moonshot.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/nvidia.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/openai.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/perplexity.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/thinking_machines.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/vertex.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/xiaomi.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/types/z_ai.py +0 -0
- {modelparams-0.0.39 → modelparams-0.0.40}/src/modelparams/validation.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: modelparams
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.40
|
|
4
4
|
Summary: Typed model parameters for Python, generated from the modelparams.dev catalog.
|
|
5
5
|
Project-URL: Homepage, https://modelparams.dev
|
|
6
6
|
Project-URL: Repository, https://github.com/mnfst/modelparameters.dev
|
|
@@ -27514,12 +27514,11 @@
|
|
|
27514
27514
|
{
|
|
27515
27515
|
"path": "reasoning_effort",
|
|
27516
27516
|
"label": "Reasoning effort",
|
|
27517
|
-
"description": "Controls how much reasoning Grok performs before responding.
|
|
27517
|
+
"description": "Controls how much reasoning Grok performs before responding. Defaults to high. Reasoning cannot be disabled.",
|
|
27518
27518
|
"group": "reasoning",
|
|
27519
27519
|
"type": "enum",
|
|
27520
|
-
"default": "
|
|
27520
|
+
"default": "high",
|
|
27521
27521
|
"values": [
|
|
27522
|
-
"none",
|
|
27523
27522
|
"low",
|
|
27524
27523
|
"medium",
|
|
27525
27524
|
"high"
|
|
@@ -27593,12 +27592,11 @@
|
|
|
27593
27592
|
{
|
|
27594
27593
|
"path": "reasoning_effort",
|
|
27595
27594
|
"label": "Reasoning effort",
|
|
27596
|
-
"description": "Controls how much reasoning Grok performs before responding.
|
|
27595
|
+
"description": "Controls how much reasoning Grok performs before responding. Defaults to high. Reasoning cannot be disabled.",
|
|
27597
27596
|
"group": "reasoning",
|
|
27598
27597
|
"type": "enum",
|
|
27599
|
-
"default": "
|
|
27598
|
+
"default": "high",
|
|
27600
27599
|
"values": [
|
|
27601
|
-
"none",
|
|
27602
27600
|
"low",
|
|
27603
27601
|
"medium",
|
|
27604
27602
|
"high"
|
|
@@ -27624,6 +27622,7 @@
|
|
|
27624
27622
|
"authType": "api_key",
|
|
27625
27623
|
"apiSurface": "openai-chat-completions",
|
|
27626
27624
|
"model": "grok-4.6",
|
|
27625
|
+
"status": "active",
|
|
27627
27626
|
"params": [
|
|
27628
27627
|
{
|
|
27629
27628
|
"path": "max_completion_tokens",
|
|
@@ -27671,10 +27670,103 @@
|
|
|
27671
27670
|
{
|
|
27672
27671
|
"path": "stop",
|
|
27673
27672
|
"label": "Stop sequence",
|
|
27674
|
-
"description": "Stops generation when this sequence is produced. xAI accepts up to four stop sequences.",
|
|
27673
|
+
"description": "Stops generation when this sequence is produced. xAI accepts up to four stop sequences. grok-4.6 rejects stop because reasoning cannot be disabled.",
|
|
27675
27674
|
"group": "generation_length",
|
|
27676
27675
|
"type": "string"
|
|
27677
27676
|
},
|
|
27677
|
+
{
|
|
27678
|
+
"path": "reasoning_effort",
|
|
27679
|
+
"label": "Reasoning effort",
|
|
27680
|
+
"description": "Controls how much reasoning Grok performs before responding. Defaults to high. Reasoning cannot be disabled. xhigh is grok-4.6 and later.",
|
|
27681
|
+
"group": "reasoning",
|
|
27682
|
+
"type": "enum",
|
|
27683
|
+
"default": "high",
|
|
27684
|
+
"values": [
|
|
27685
|
+
"low",
|
|
27686
|
+
"medium",
|
|
27687
|
+
"high",
|
|
27688
|
+
"xhigh"
|
|
27689
|
+
]
|
|
27690
|
+
},
|
|
27691
|
+
{
|
|
27692
|
+
"path": "response_format.type",
|
|
27693
|
+
"label": "Response format",
|
|
27694
|
+
"description": "Controls whether the model returns text, JSON mode output, or structured JSON schema output.",
|
|
27695
|
+
"group": "output_format",
|
|
27696
|
+
"type": "enum",
|
|
27697
|
+
"default": "text",
|
|
27698
|
+
"values": [
|
|
27699
|
+
"text",
|
|
27700
|
+
"json_object",
|
|
27701
|
+
"json_schema"
|
|
27702
|
+
]
|
|
27703
|
+
}
|
|
27704
|
+
]
|
|
27705
|
+
},
|
|
27706
|
+
{
|
|
27707
|
+
"provider": "xai",
|
|
27708
|
+
"authType": "subscription",
|
|
27709
|
+
"apiSurface": "openai-chat-completions",
|
|
27710
|
+
"model": "grok-4.6",
|
|
27711
|
+
"status": "active",
|
|
27712
|
+
"params": [
|
|
27713
|
+
{
|
|
27714
|
+
"path": "max_completion_tokens",
|
|
27715
|
+
"label": "Max completion tokens",
|
|
27716
|
+
"description": "Upper bound for visible output tokens generated in the chat completion.",
|
|
27717
|
+
"group": "generation_length",
|
|
27718
|
+
"type": "integer",
|
|
27719
|
+
"range": {
|
|
27720
|
+
"min": 1
|
|
27721
|
+
}
|
|
27722
|
+
},
|
|
27723
|
+
{
|
|
27724
|
+
"path": "temperature",
|
|
27725
|
+
"label": "Temperature",
|
|
27726
|
+
"description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.",
|
|
27727
|
+
"group": "sampling",
|
|
27728
|
+
"type": "number",
|
|
27729
|
+
"default": 1,
|
|
27730
|
+
"range": {
|
|
27731
|
+
"min": 0,
|
|
27732
|
+
"max": 2,
|
|
27733
|
+
"step": 0.1
|
|
27734
|
+
}
|
|
27735
|
+
},
|
|
27736
|
+
{
|
|
27737
|
+
"path": "top_p",
|
|
27738
|
+
"label": "Top P",
|
|
27739
|
+
"description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.",
|
|
27740
|
+
"group": "sampling",
|
|
27741
|
+
"type": "number",
|
|
27742
|
+
"default": 1,
|
|
27743
|
+
"range": {
|
|
27744
|
+
"min": 0,
|
|
27745
|
+
"max": 1,
|
|
27746
|
+
"step": 0.01
|
|
27747
|
+
}
|
|
27748
|
+
},
|
|
27749
|
+
{
|
|
27750
|
+
"path": "seed",
|
|
27751
|
+
"label": "Seed",
|
|
27752
|
+
"description": "Optional seed used for decoding when reproducible sampling is desired.",
|
|
27753
|
+
"group": "sampling",
|
|
27754
|
+
"type": "integer"
|
|
27755
|
+
},
|
|
27756
|
+
{
|
|
27757
|
+
"path": "reasoning_effort",
|
|
27758
|
+
"label": "Reasoning effort",
|
|
27759
|
+
"description": "Controls how much reasoning Grok performs before responding. Defaults to high. Reasoning cannot be disabled. xhigh is grok-4.6 and later.",
|
|
27760
|
+
"group": "reasoning",
|
|
27761
|
+
"type": "enum",
|
|
27762
|
+
"default": "high",
|
|
27763
|
+
"values": [
|
|
27764
|
+
"low",
|
|
27765
|
+
"medium",
|
|
27766
|
+
"high",
|
|
27767
|
+
"xhigh"
|
|
27768
|
+
]
|
|
27769
|
+
},
|
|
27678
27770
|
{
|
|
27679
27771
|
"path": "response_format.type",
|
|
27680
27772
|
"label": "Response format",
|
|
@@ -359,6 +359,7 @@ ModelId = Literal[
|
|
|
359
359
|
"xai/grok-4.5",
|
|
360
360
|
"xai/grok-4.5-subscription",
|
|
361
361
|
"xai/grok-4.6",
|
|
362
|
+
"xai/grok-4.6-subscription",
|
|
362
363
|
"xai/grok-build-0.1",
|
|
363
364
|
"xai/grok-build-0.1-subscription",
|
|
364
365
|
"xiaomi/mimo-v2.5",
|
|
@@ -744,6 +745,7 @@ MODEL_IDS: tuple[ModelId, ...] = (
|
|
|
744
745
|
"xai/grok-4.5",
|
|
745
746
|
"xai/grok-4.5-subscription",
|
|
746
747
|
"xai/grok-4.6",
|
|
748
|
+
"xai/grok-4.6-subscription",
|
|
747
749
|
"xai/grok-build-0.1",
|
|
748
750
|
"xai/grok-build-0.1-subscription",
|
|
749
751
|
"xiaomi/mimo-v2.5",
|
|
@@ -383,6 +383,7 @@ PARAM_TYPES: dict[ModelId, Any] = {
|
|
|
383
383
|
"xai/grok-4.5": xai.Grok_4_5Params,
|
|
384
384
|
"xai/grok-4.5-subscription": xai.Grok_4_5_SubscriptionParams,
|
|
385
385
|
"xai/grok-4.6": xai.Grok_4_6Params,
|
|
386
|
+
"xai/grok-4.6-subscription": xai.Grok_4_6_SubscriptionParams,
|
|
386
387
|
"xai/grok-build-0.1": xai.Grok_Build_0_1Params,
|
|
387
388
|
"xai/grok-build-0.1-subscription": xai.Grok_Build_0_1_SubscriptionParams,
|
|
388
389
|
"xiaomi/mimo-v2.5": xiaomi.Mimo_V2_5Params,
|
|
@@ -112,7 +112,7 @@ Grok_4_5Params = TypedDict(
|
|
|
112
112
|
"temperature": Annotated[float, Field(ge=0, le=2)],
|
|
113
113
|
"top_p": Annotated[float, Field(ge=0, le=1)],
|
|
114
114
|
"seed": int,
|
|
115
|
-
"reasoning_effort": Literal["
|
|
115
|
+
"reasoning_effort": Literal["low", "medium", "high"],
|
|
116
116
|
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
117
117
|
},
|
|
118
118
|
total=False,
|
|
@@ -126,7 +126,7 @@ Grok_4_5_SubscriptionParams = TypedDict(
|
|
|
126
126
|
"temperature": Annotated[float, Field(ge=0, le=2)],
|
|
127
127
|
"top_p": Annotated[float, Field(ge=0, le=1)],
|
|
128
128
|
"seed": int,
|
|
129
|
-
"reasoning_effort": Literal["
|
|
129
|
+
"reasoning_effort": Literal["low", "medium", "high"],
|
|
130
130
|
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
131
131
|
},
|
|
132
132
|
total=False,
|
|
@@ -141,12 +141,27 @@ Grok_4_6Params = TypedDict(
|
|
|
141
141
|
"top_p": Annotated[float, Field(ge=0, le=1)],
|
|
142
142
|
"seed": int,
|
|
143
143
|
"stop": str,
|
|
144
|
+
"reasoning_effort": Literal["low", "medium", "high", "xhigh"],
|
|
144
145
|
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
145
146
|
},
|
|
146
147
|
total=False,
|
|
147
148
|
)
|
|
148
149
|
setattr(Grok_4_6Params, "__pydantic_config__", _PARAMS_CONFIG)
|
|
149
150
|
|
|
151
|
+
Grok_4_6_SubscriptionParams = TypedDict(
|
|
152
|
+
"Grok_4_6_SubscriptionParams",
|
|
153
|
+
{
|
|
154
|
+
"max_completion_tokens": Annotated[int, Field(ge=1)],
|
|
155
|
+
"temperature": Annotated[float, Field(ge=0, le=2)],
|
|
156
|
+
"top_p": Annotated[float, Field(ge=0, le=1)],
|
|
157
|
+
"seed": int,
|
|
158
|
+
"reasoning_effort": Literal["low", "medium", "high", "xhigh"],
|
|
159
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
160
|
+
},
|
|
161
|
+
total=False,
|
|
162
|
+
)
|
|
163
|
+
setattr(Grok_4_6_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
164
|
+
|
|
150
165
|
Grok_Build_0_1Params = TypedDict(
|
|
151
166
|
"Grok_Build_0_1Params",
|
|
152
167
|
{
|
|
@@ -184,6 +199,7 @@ __all__ = [
|
|
|
184
199
|
"Grok_4_5Params",
|
|
185
200
|
"Grok_4_5_SubscriptionParams",
|
|
186
201
|
"Grok_4_6Params",
|
|
202
|
+
"Grok_4_6_SubscriptionParams",
|
|
187
203
|
"Grok_Build_0_1Params",
|
|
188
204
|
"Grok_Build_0_1_SubscriptionParams",
|
|
189
205
|
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|