modelparams 0.0.6__tar.gz → 0.0.7__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.

Files changed (33) hide show
  1. {modelparams-0.0.6 → modelparams-0.0.7}/PKG-INFO +1 -1
  2. {modelparams-0.0.6 → modelparams-0.0.7}/pyproject.toml +1 -1
  3. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/__init__.py +2 -0
  4. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/_generated/catalog.json +16 -0
  5. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/models.py +9 -0
  6. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/types/anthropic.py +1 -1
  7. {modelparams-0.0.6 → modelparams-0.0.7}/.gitignore +0 -0
  8. {modelparams-0.0.6 → modelparams-0.0.7}/LICENSE +0 -0
  9. {modelparams-0.0.6 → modelparams-0.0.7}/README.md +0 -0
  10. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/_generated/__init__.py +0 -0
  11. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/_generated/model_ids.py +0 -0
  12. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/_generated/registry.py +0 -0
  13. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/catalog.py +0 -0
  14. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/py.typed +0 -0
  15. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/types/__init__.py +0 -0
  16. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/types/alibaba.py +0 -0
  17. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/types/cerebras.py +0 -0
  18. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/types/cohere.py +0 -0
  19. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/types/deepseek.py +0 -0
  20. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/types/google.py +0 -0
  21. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/types/groq.py +0 -0
  22. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/types/meta.py +0 -0
  23. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/types/minimax.py +0 -0
  24. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/types/mistral.py +0 -0
  25. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/types/moonshot.py +0 -0
  26. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/types/nvidia.py +0 -0
  27. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/types/openai.py +0 -0
  28. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/types/perplexity.py +0 -0
  29. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/types/thinking_machines.py +0 -0
  30. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/types/xai.py +0 -0
  31. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/types/xiaomi.py +0 -0
  32. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/types/z_ai.py +0 -0
  33. {modelparams-0.0.6 → modelparams-0.0.7}/src/modelparams/validation.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: modelparams
3
- Version: 0.0.6
3
+ Version: 0.0.7
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.6"
7
+ version = "0.0.7"
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"
@@ -16,6 +16,7 @@ from .models import (
16
16
  ApplicabilityCondition,
17
17
  CatalogEntry,
18
18
  JsonPrimitive,
19
+ ParamDeprecation,
19
20
  Parameter,
20
21
  ParamGroup,
21
22
  ParamRange,
@@ -44,6 +45,7 @@ __all__ = [
44
45
  "CatalogEntry",
45
46
  "JsonPrimitive",
46
47
  "ModelId",
48
+ "ParamDeprecation",
47
49
  "Parameter",
48
50
  "ParamGroup",
49
51
  "ParamRange",
@@ -5152,6 +5152,11 @@
5152
5152
  }
5153
5153
  ]
5154
5154
  },
5155
+ "deprecated": {
5156
+ "behavior": "default-only",
5157
+ "since": "2026-08-17",
5158
+ "note": "The API now rejects non-default values (\"`temperature` is deprecated for this model\"); only the default value 1 is accepted. Verified working 2026-07-11."
5159
+ },
5155
5160
  "type": "number",
5156
5161
  "default": 1,
5157
5162
  "range": {
@@ -5179,6 +5184,11 @@
5179
5184
  }
5180
5185
  ]
5181
5186
  },
5187
+ "deprecated": {
5188
+ "behavior": "default-only",
5189
+ "since": "2026-08-17",
5190
+ "note": "The API now rejects non-default values (\"`top_p` is deprecated for this model\"); only the default value 1 is accepted. Verified working 2026-07-11."
5191
+ },
5182
5192
  "type": "number",
5183
5193
  "default": 1,
5184
5194
  "range": {
@@ -5199,6 +5209,11 @@
5199
5209
  ]
5200
5210
  }
5201
5211
  },
5212
+ "deprecated": {
5213
+ "behavior": "default-only",
5214
+ "since": "2026-08-17",
5215
+ "note": "The API now rejects non-default values (\"`top_k` is deprecated for this model\"); only the default value 0 is accepted. Verified working 2026-07-11."
5216
+ },
5202
5217
  "type": "integer",
5203
5218
  "default": 0,
5204
5219
  "range": {
@@ -5247,6 +5262,7 @@
5247
5262
  "low",
5248
5263
  "medium",
5249
5264
  "high",
5265
+ "xhigh",
5250
5266
  "max"
5251
5267
  ]
5252
5268
  }
@@ -43,6 +43,14 @@ class Applicability(FrozenModel):
43
43
  except_: ApplicabilityRuleSet | None = Field(default=None, alias="except")
44
44
 
45
45
 
46
+ class ParamDeprecation(FrozenModel):
47
+ """The provider stopped honoring the param for this model id (see the site schema)."""
48
+
49
+ behavior: Literal["rejected", "ignored", "default-only"]
50
+ since: str | None = None
51
+ note: str | None = None
52
+
53
+
46
54
  class Parameter(FrozenModel):
47
55
  path: str
48
56
  label: str
@@ -53,6 +61,7 @@ class Parameter(FrozenModel):
53
61
  range: ParamRange | None = None
54
62
  values: tuple[JsonPrimitive, ...] | None = None
55
63
  applicability: Applicability | None = None
64
+ deprecated: ParamDeprecation | None = None
56
65
 
57
66
 
58
67
  class CatalogEntry(FrozenModel):
@@ -569,7 +569,7 @@ Claude_Sonnet_5Params = TypedDict(
569
569
  "top_k": Annotated[int, Field(ge=0)],
570
570
  "thinking.type": Literal["disabled", "adaptive"],
571
571
  "thinking.display": Literal["summarized", "omitted"],
572
- "output_config.effort": Literal["low", "medium", "high", "max"],
572
+ "output_config.effort": Literal["low", "medium", "high", "xhigh", "max"],
573
573
  },
574
574
  total=False,
575
575
  )
File without changes
File without changes
File without changes