modelparams 0.0.17__tar.gz → 0.0.19__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.
Files changed (33) hide show
  1. {modelparams-0.0.17 → modelparams-0.0.19}/PKG-INFO +1 -1
  2. {modelparams-0.0.17 → modelparams-0.0.19}/pyproject.toml +1 -1
  3. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/_generated/catalog.json +82 -0
  4. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/_generated/model_ids.py +2 -0
  5. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/_generated/registry.py +1 -0
  6. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/types/anthropic.py +3 -0
  7. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/types/openai.py +11 -0
  8. {modelparams-0.0.17 → modelparams-0.0.19}/.gitignore +0 -0
  9. {modelparams-0.0.17 → modelparams-0.0.19}/LICENSE +0 -0
  10. {modelparams-0.0.17 → modelparams-0.0.19}/README.md +0 -0
  11. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/__init__.py +0 -0
  12. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/_generated/__init__.py +0 -0
  13. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/catalog.py +0 -0
  14. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/models.py +0 -0
  15. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/py.typed +0 -0
  16. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/types/__init__.py +0 -0
  17. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/types/alibaba.py +0 -0
  18. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/types/cerebras.py +0 -0
  19. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/types/cohere.py +0 -0
  20. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/types/deepseek.py +0 -0
  21. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/types/google.py +0 -0
  22. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/types/groq.py +0 -0
  23. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/types/meta.py +0 -0
  24. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/types/minimax.py +0 -0
  25. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/types/mistral.py +0 -0
  26. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/types/moonshot.py +0 -0
  27. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/types/nvidia.py +0 -0
  28. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/types/perplexity.py +0 -0
  29. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/types/thinking_machines.py +0 -0
  30. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/types/xai.py +0 -0
  31. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/types/xiaomi.py +0 -0
  32. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/types/z_ai.py +0 -0
  33. {modelparams-0.0.17 → modelparams-0.0.19}/src/modelparams/validation.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: modelparams
3
- Version: 0.0.17
3
+ Version: 0.0.19
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
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "modelparams"
7
- version = "0.0.17"
7
+ version = "0.0.19"
8
8
  description = "Typed model parameters for Python, generated from the modelparams.dev catalog."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -3794,6 +3794,55 @@
3794
3794
  "min": 1
3795
3795
  }
3796
3796
  },
3797
+ {
3798
+ "path": "temperature",
3799
+ "label": "Temperature",
3800
+ "description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.",
3801
+ "group": "sampling",
3802
+ "deprecated": {
3803
+ "behavior": "default-only",
3804
+ "note": "The API rejects non-default values (\"`temperature` is deprecated for this model\") in every thinking mode; only the default value 1 is accepted. Probed 2026-08-17."
3805
+ },
3806
+ "type": "number",
3807
+ "default": 1,
3808
+ "range": {
3809
+ "min": 0,
3810
+ "max": 1,
3811
+ "step": 0.01
3812
+ }
3813
+ },
3814
+ {
3815
+ "path": "top_p",
3816
+ "label": "Top P",
3817
+ "description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.",
3818
+ "group": "sampling",
3819
+ "deprecated": {
3820
+ "behavior": "rejected",
3821
+ "note": "The API rejects every value including the default (\"`top_p` is deprecated for this model\"); the parameter must be unset. Probed 2026-08-17."
3822
+ },
3823
+ "type": "number",
3824
+ "default": 1,
3825
+ "range": {
3826
+ "min": 0,
3827
+ "max": 1,
3828
+ "step": 0.01
3829
+ }
3830
+ },
3831
+ {
3832
+ "path": "top_k",
3833
+ "label": "Top K",
3834
+ "description": "Limits sampling to the K most likely tokens.",
3835
+ "group": "sampling",
3836
+ "deprecated": {
3837
+ "behavior": "rejected",
3838
+ "note": "The API rejects every value including the default (\"`top_k` is deprecated for this model\"); the parameter must be unset. Probed 2026-08-17."
3839
+ },
3840
+ "type": "integer",
3841
+ "default": 0,
3842
+ "range": {
3843
+ "min": 0
3844
+ }
3845
+ },
3797
3846
  {
3798
3847
  "path": "thinking.type",
3799
3848
  "label": "Thinking mode",
@@ -15650,6 +15699,39 @@
15650
15699
  }
15651
15700
  ]
15652
15701
  },
15702
+ {
15703
+ "provider": "openai",
15704
+ "authType": "api_key",
15705
+ "model": "gpt-5.6",
15706
+ "params": [
15707
+ {
15708
+ "path": "max_completion_tokens",
15709
+ "label": "Max tokens",
15710
+ "description": "Maximum number of output tokens the model may generate.",
15711
+ "group": "generation_length",
15712
+ "type": "integer",
15713
+ "default": 4096,
15714
+ "range": {
15715
+ "min": 1
15716
+ }
15717
+ },
15718
+ {
15719
+ "path": "reasoning_effort",
15720
+ "label": "Reasoning effort",
15721
+ "description": "Controls how much reasoning the model should perform before producing an answer.",
15722
+ "group": "reasoning",
15723
+ "type": "enum",
15724
+ "default": "none",
15725
+ "values": [
15726
+ "none",
15727
+ "low",
15728
+ "medium",
15729
+ "high",
15730
+ "xhigh"
15731
+ ]
15732
+ }
15733
+ ]
15734
+ },
15653
15735
  {
15654
15736
  "provider": "openai",
15655
15737
  "authType": "api_key",
@@ -205,6 +205,7 @@ ModelId = Literal[
205
205
  "openai/gpt-5.5-pro",
206
206
  "openai/gpt-5.5-pro-subscription",
207
207
  "openai/gpt-5.5-subscription",
208
+ "openai/gpt-5.6",
208
209
  "openai/gpt-5.6-luna",
209
210
  "openai/gpt-5.6-luna-subscription",
210
211
  "openai/gpt-5.6-sol",
@@ -467,6 +468,7 @@ MODEL_IDS: tuple[ModelId, ...] = (
467
468
  "openai/gpt-5.5-pro",
468
469
  "openai/gpt-5.5-pro-subscription",
469
470
  "openai/gpt-5.5-subscription",
471
+ "openai/gpt-5.6",
470
472
  "openai/gpt-5.6-luna",
471
473
  "openai/gpt-5.6-luna-subscription",
472
474
  "openai/gpt-5.6-sol",
@@ -226,6 +226,7 @@ PARAM_TYPES: dict[ModelId, Any] = {
226
226
  "openai/gpt-5.5-pro": openai.Gpt_5_5_ProParams,
227
227
  "openai/gpt-5.5-pro-subscription": openai.Gpt_5_5_Pro_SubscriptionParams,
228
228
  "openai/gpt-5.5-subscription": openai.Gpt_5_5_SubscriptionParams,
229
+ "openai/gpt-5.6": openai.Gpt_5_6Params,
229
230
  "openai/gpt-5.6-luna": openai.Gpt_5_6_LunaParams,
230
231
  "openai/gpt-5.6-luna-subscription": openai.Gpt_5_6_Luna_SubscriptionParams,
231
232
  "openai/gpt-5.6-sol": openai.Gpt_5_6_SolParams,
@@ -370,6 +370,9 @@ Claude_Opus_4_8Params = TypedDict(
370
370
  "Claude_Opus_4_8Params",
371
371
  {
372
372
  "max_tokens": Annotated[int, Field(ge=1)],
373
+ "temperature": Annotated[float, Field(ge=0, le=1)],
374
+ "top_p": Annotated[float, Field(ge=0, le=1)],
375
+ "top_k": Annotated[int, Field(ge=0)],
373
376
  "thinking.type": Literal["disabled", "adaptive"],
374
377
  "thinking.display": Literal["summarized", "omitted"],
375
378
  "output_config.effort": Literal["low", "medium", "high", "xhigh", "max"],
@@ -392,6 +392,16 @@ Gpt_5_5_SubscriptionParams = TypedDict(
392
392
  )
393
393
  setattr(Gpt_5_5_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
394
394
 
395
+ Gpt_5_6Params = TypedDict(
396
+ "Gpt_5_6Params",
397
+ {
398
+ "max_completion_tokens": Annotated[int, Field(ge=1)],
399
+ "reasoning_effort": Literal["none", "low", "medium", "high", "xhigh"],
400
+ },
401
+ total=False,
402
+ )
403
+ setattr(Gpt_5_6Params, "__pydantic_config__", _PARAMS_CONFIG)
404
+
395
405
  Gpt_5_6_LunaParams = TypedDict(
396
406
  "Gpt_5_6_LunaParams",
397
407
  {
@@ -614,6 +624,7 @@ __all__ = [
614
624
  "Gpt_5_5_ProParams",
615
625
  "Gpt_5_5_Pro_SubscriptionParams",
616
626
  "Gpt_5_5_SubscriptionParams",
627
+ "Gpt_5_6Params",
617
628
  "Gpt_5_6_LunaParams",
618
629
  "Gpt_5_6_Luna_SubscriptionParams",
619
630
  "Gpt_5_6_SolParams",
File without changes
File without changes
File without changes