modelparams 0.0.15__tar.gz → 0.0.17__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.
- {modelparams-0.0.15 → modelparams-0.0.17}/PKG-INFO +1 -1
- {modelparams-0.0.15 → modelparams-0.0.17}/pyproject.toml +1 -1
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/_generated/catalog.json +73 -6
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/_generated/model_ids.py +2 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/_generated/registry.py +1 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/types/anthropic.py +13 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/types/openai.py +6 -6
- {modelparams-0.0.15 → modelparams-0.0.17}/.gitignore +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/LICENSE +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/README.md +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/__init__.py +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/_generated/__init__.py +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/catalog.py +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/models.py +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/py.typed +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/types/__init__.py +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/types/alibaba.py +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/types/cerebras.py +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/types/cohere.py +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/types/deepseek.py +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/types/google.py +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/types/groq.py +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/types/meta.py +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/types/minimax.py +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/types/mistral.py +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/types/moonshot.py +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/types/nvidia.py +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/types/perplexity.py +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/types/thinking_machines.py +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/types/xai.py +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/types/xiaomi.py +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/src/modelparams/types/z_ai.py +0 -0
- {modelparams-0.0.15 → modelparams-0.0.17}/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.17
|
|
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
|
|
@@ -5463,6 +5463,70 @@
|
|
|
5463
5463
|
}
|
|
5464
5464
|
]
|
|
5465
5465
|
},
|
|
5466
|
+
{
|
|
5467
|
+
"provider": "anthropic",
|
|
5468
|
+
"authType": "subscription",
|
|
5469
|
+
"model": "claude-sonnet-5",
|
|
5470
|
+
"params": [
|
|
5471
|
+
{
|
|
5472
|
+
"path": "max_tokens",
|
|
5473
|
+
"label": "Max tokens",
|
|
5474
|
+
"description": "Maximum number of output tokens the model may generate.",
|
|
5475
|
+
"group": "generation_length",
|
|
5476
|
+
"type": "integer",
|
|
5477
|
+
"default": 4096,
|
|
5478
|
+
"range": {
|
|
5479
|
+
"min": 1
|
|
5480
|
+
}
|
|
5481
|
+
},
|
|
5482
|
+
{
|
|
5483
|
+
"path": "thinking.type",
|
|
5484
|
+
"label": "Thinking mode",
|
|
5485
|
+
"description": "Controls the Anthropic thinking mode values supported by this model.",
|
|
5486
|
+
"group": "reasoning",
|
|
5487
|
+
"type": "enum",
|
|
5488
|
+
"default": "disabled",
|
|
5489
|
+
"values": [
|
|
5490
|
+
"disabled",
|
|
5491
|
+
"adaptive"
|
|
5492
|
+
]
|
|
5493
|
+
},
|
|
5494
|
+
{
|
|
5495
|
+
"path": "thinking.display",
|
|
5496
|
+
"label": "Thinking display",
|
|
5497
|
+
"description": "Controls whether Anthropic returns summarized or omitted thinking content.",
|
|
5498
|
+
"group": "reasoning",
|
|
5499
|
+
"applicability": {
|
|
5500
|
+
"only": {
|
|
5501
|
+
"thinking.type": [
|
|
5502
|
+
"adaptive"
|
|
5503
|
+
]
|
|
5504
|
+
}
|
|
5505
|
+
},
|
|
5506
|
+
"type": "enum",
|
|
5507
|
+
"default": "summarized",
|
|
5508
|
+
"values": [
|
|
5509
|
+
"summarized",
|
|
5510
|
+
"omitted"
|
|
5511
|
+
]
|
|
5512
|
+
},
|
|
5513
|
+
{
|
|
5514
|
+
"path": "output_config.effort",
|
|
5515
|
+
"label": "Effort",
|
|
5516
|
+
"description": "Controls Anthropic response thoroughness and token spend.",
|
|
5517
|
+
"group": "reasoning",
|
|
5518
|
+
"type": "enum",
|
|
5519
|
+
"default": "high",
|
|
5520
|
+
"values": [
|
|
5521
|
+
"low",
|
|
5522
|
+
"medium",
|
|
5523
|
+
"high",
|
|
5524
|
+
"xhigh",
|
|
5525
|
+
"max"
|
|
5526
|
+
]
|
|
5527
|
+
}
|
|
5528
|
+
]
|
|
5529
|
+
},
|
|
5466
5530
|
{
|
|
5467
5531
|
"provider": "cerebras",
|
|
5468
5532
|
"authType": "api_key",
|
|
@@ -15599,7 +15663,7 @@
|
|
|
15599
15663
|
"type": "integer",
|
|
15600
15664
|
"default": 4096,
|
|
15601
15665
|
"range": {
|
|
15602
|
-
"min":
|
|
15666
|
+
"min": 1
|
|
15603
15667
|
}
|
|
15604
15668
|
},
|
|
15605
15669
|
{
|
|
@@ -15613,7 +15677,8 @@
|
|
|
15613
15677
|
"none",
|
|
15614
15678
|
"low",
|
|
15615
15679
|
"medium",
|
|
15616
|
-
"high"
|
|
15680
|
+
"high",
|
|
15681
|
+
"xhigh"
|
|
15617
15682
|
]
|
|
15618
15683
|
}
|
|
15619
15684
|
]
|
|
@@ -15680,7 +15745,7 @@
|
|
|
15680
15745
|
"type": "integer",
|
|
15681
15746
|
"default": 4096,
|
|
15682
15747
|
"range": {
|
|
15683
|
-
"min":
|
|
15748
|
+
"min": 1
|
|
15684
15749
|
}
|
|
15685
15750
|
},
|
|
15686
15751
|
{
|
|
@@ -15694,7 +15759,8 @@
|
|
|
15694
15759
|
"none",
|
|
15695
15760
|
"low",
|
|
15696
15761
|
"medium",
|
|
15697
|
-
"high"
|
|
15762
|
+
"high",
|
|
15763
|
+
"xhigh"
|
|
15698
15764
|
]
|
|
15699
15765
|
}
|
|
15700
15766
|
]
|
|
@@ -15761,7 +15827,7 @@
|
|
|
15761
15827
|
"type": "integer",
|
|
15762
15828
|
"default": 4096,
|
|
15763
15829
|
"range": {
|
|
15764
|
-
"min":
|
|
15830
|
+
"min": 1
|
|
15765
15831
|
}
|
|
15766
15832
|
},
|
|
15767
15833
|
{
|
|
@@ -15775,7 +15841,8 @@
|
|
|
15775
15841
|
"none",
|
|
15776
15842
|
"low",
|
|
15777
15843
|
"medium",
|
|
15778
|
-
"high"
|
|
15844
|
+
"high",
|
|
15845
|
+
"xhigh"
|
|
15779
15846
|
]
|
|
15780
15847
|
}
|
|
15781
15848
|
]
|
|
@@ -60,6 +60,7 @@ ModelId = Literal[
|
|
|
60
60
|
"anthropic/claude-sonnet-4-6-subscription",
|
|
61
61
|
"anthropic/claude-sonnet-4-subscription",
|
|
62
62
|
"anthropic/claude-sonnet-5",
|
|
63
|
+
"anthropic/claude-sonnet-5-subscription",
|
|
63
64
|
"cerebras/zai-glm-4.7",
|
|
64
65
|
"cohere/command-a-03-2025",
|
|
65
66
|
"cohere/command-a-plus-05-2026",
|
|
@@ -321,6 +322,7 @@ MODEL_IDS: tuple[ModelId, ...] = (
|
|
|
321
322
|
"anthropic/claude-sonnet-4-6-subscription",
|
|
322
323
|
"anthropic/claude-sonnet-4-subscription",
|
|
323
324
|
"anthropic/claude-sonnet-5",
|
|
325
|
+
"anthropic/claude-sonnet-5-subscription",
|
|
324
326
|
"cerebras/zai-glm-4.7",
|
|
325
327
|
"cohere/command-a-03-2025",
|
|
326
328
|
"cohere/command-a-plus-05-2026",
|
|
@@ -81,6 +81,7 @@ PARAM_TYPES: dict[ModelId, Any] = {
|
|
|
81
81
|
"anthropic/claude-sonnet-4-6-subscription": anthropic.Claude_Sonnet_4_6_SubscriptionParams,
|
|
82
82
|
"anthropic/claude-sonnet-4-subscription": anthropic.Claude_Sonnet_4_SubscriptionParams,
|
|
83
83
|
"anthropic/claude-sonnet-5": anthropic.Claude_Sonnet_5Params,
|
|
84
|
+
"anthropic/claude-sonnet-5-subscription": anthropic.Claude_Sonnet_5_SubscriptionParams,
|
|
84
85
|
"cerebras/zai-glm-4.7": cerebras.Zai_Glm_4_7Params,
|
|
85
86
|
"cohere/command-a-03-2025": cohere.Command_A_03_2025Params,
|
|
86
87
|
"cohere/command-a-plus-05-2026": cohere.Command_A_Plus_05_2026Params,
|
|
@@ -575,6 +575,18 @@ Claude_Sonnet_5Params = TypedDict(
|
|
|
575
575
|
)
|
|
576
576
|
setattr(Claude_Sonnet_5Params, "__pydantic_config__", _PARAMS_CONFIG)
|
|
577
577
|
|
|
578
|
+
Claude_Sonnet_5_SubscriptionParams = TypedDict(
|
|
579
|
+
"Claude_Sonnet_5_SubscriptionParams",
|
|
580
|
+
{
|
|
581
|
+
"max_tokens": Annotated[int, Field(ge=1)],
|
|
582
|
+
"thinking.type": Literal["disabled", "adaptive"],
|
|
583
|
+
"thinking.display": Literal["summarized", "omitted"],
|
|
584
|
+
"output_config.effort": Literal["low", "medium", "high", "xhigh", "max"],
|
|
585
|
+
},
|
|
586
|
+
total=False,
|
|
587
|
+
)
|
|
588
|
+
setattr(Claude_Sonnet_5_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
589
|
+
|
|
578
590
|
__all__ = [
|
|
579
591
|
"Claude_3_5_Haiku_20241022Params",
|
|
580
592
|
"Claude_3_5_Haiku_LatestParams",
|
|
@@ -617,4 +629,5 @@ __all__ = [
|
|
|
617
629
|
"Claude_Sonnet_4_6_SubscriptionParams",
|
|
618
630
|
"Claude_Sonnet_4_SubscriptionParams",
|
|
619
631
|
"Claude_Sonnet_5Params",
|
|
632
|
+
"Claude_Sonnet_5_SubscriptionParams",
|
|
620
633
|
]
|
|
@@ -395,8 +395,8 @@ setattr(Gpt_5_5_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
|
395
395
|
Gpt_5_6_LunaParams = TypedDict(
|
|
396
396
|
"Gpt_5_6_LunaParams",
|
|
397
397
|
{
|
|
398
|
-
"max_completion_tokens": Annotated[int, Field(ge=
|
|
399
|
-
"reasoning_effort": Literal["none", "low", "medium", "high"],
|
|
398
|
+
"max_completion_tokens": Annotated[int, Field(ge=1)],
|
|
399
|
+
"reasoning_effort": Literal["none", "low", "medium", "high", "xhigh"],
|
|
400
400
|
},
|
|
401
401
|
total=False,
|
|
402
402
|
)
|
|
@@ -416,8 +416,8 @@ setattr(Gpt_5_6_Luna_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
|
416
416
|
Gpt_5_6_SolParams = TypedDict(
|
|
417
417
|
"Gpt_5_6_SolParams",
|
|
418
418
|
{
|
|
419
|
-
"max_completion_tokens": Annotated[int, Field(ge=
|
|
420
|
-
"reasoning_effort": Literal["none", "low", "medium", "high"],
|
|
419
|
+
"max_completion_tokens": Annotated[int, Field(ge=1)],
|
|
420
|
+
"reasoning_effort": Literal["none", "low", "medium", "high", "xhigh"],
|
|
421
421
|
},
|
|
422
422
|
total=False,
|
|
423
423
|
)
|
|
@@ -437,8 +437,8 @@ setattr(Gpt_5_6_Sol_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
|
437
437
|
Gpt_5_6_TerraParams = TypedDict(
|
|
438
438
|
"Gpt_5_6_TerraParams",
|
|
439
439
|
{
|
|
440
|
-
"max_completion_tokens": Annotated[int, Field(ge=
|
|
441
|
-
"reasoning_effort": Literal["none", "low", "medium", "high"],
|
|
440
|
+
"max_completion_tokens": Annotated[int, Field(ge=1)],
|
|
441
|
+
"reasoning_effort": Literal["none", "low", "medium", "high", "xhigh"],
|
|
442
442
|
},
|
|
443
443
|
total=False,
|
|
444
444
|
)
|
|
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
|