From 0eac30cf2a3fd0564d6ea3b5686fb7e32e9d0227 Mon Sep 17 00:00:00 2001 From: Guillaume Gay Date: Wed, 7 Oct 2026 05:41:06 +0000 Subject: [PATCH] =?UTF-8?q?chore(catalog):=20sync=20from=20gateway=20?= =?UTF-8?q?=E2=80=94=203=20added,=200=20corrected,=202=20retired?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Every added param and every corrected bound was verified end-to-end through the gateway. --- models/fireworks/glm-5p2.yaml | 1 + models/mistral/mistral-large-4-0.yaml | 65 +++++ models/mistral/mistral-large-4.yaml | 65 +++++ models/openai/gpt-3.5-turbo-1106.yaml | 1 + .../opencode-go/space-bunny-subscription.yaml | 65 +++++ .../src/modelparams/_generated/catalog.json | 264 ++++++++++++++++++ .../src/modelparams/_generated/model_ids.py | 6 + .../src/modelparams/_generated/registry.py | 3 + .../src/modelparams/types/mistral.py | 32 +++ .../src/modelparams/types/opencode_go.py | 16 ++ packages/modelparams/src/generated/data.ts | 264 ++++++++++++++++++ .../modelparams/src/generated/defaults.ts | 13 + .../modelparams/src/generated/model-ids.ts | 3 + .../modelparams/src/generated/params-by-id.ts | 27 ++ 14 files changed, 825 insertions(+) create mode 100644 models/mistral/mistral-large-4-0.yaml create mode 100644 models/mistral/mistral-large-4.yaml create mode 100644 models/opencode-go/space-bunny-subscription.yaml diff --git a/models/fireworks/glm-5p2.yaml b/models/fireworks/glm-5p2.yaml index a4a4f705..7a95bdd1 100644 --- a/models/fireworks/glm-5p2.yaml +++ b/models/fireworks/glm-5p2.yaml @@ -4,6 +4,7 @@ authType: api_key apiSurface: openai-chat-completions model: glm-5p2 wireId: accounts/fireworks/models/glm-5p2 +status: retired params: - path: max_tokens type: integer diff --git a/models/mistral/mistral-large-4-0.yaml b/models/mistral/mistral-large-4-0.yaml new file mode 100644 index 00000000..afdcc78e --- /dev/null +++ b/models/mistral/mistral-large-4-0.yaml @@ -0,0 +1,65 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: mistral +authType: api_key +apiSurface: openai-chat-completions +model: mistral-large-4-0 +params: + - path: max_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the completion. + range: + min: 1 + group: generation_length + - path: temperature + type: number + label: Temperature + description: Controls randomness. Lower values make outputs more focused; higher values make them more varied. + range: + min: 0.1 + max: 1.5 + step: 0.1 + group: sampling + - path: top_p + type: number + label: Top P + description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. + default: 1 + range: + min: 0.01 + max: 1 + step: 0.01 + group: sampling + - path: random_seed + type: integer + label: Random seed + description: Seed used for deterministic sampling when reproducible outputs are desired. + range: + min: 0 + group: sampling + - path: presence_penalty + type: number + label: Presence penalty + description: Penalizes repeated words or phrases to encourage a wider variety of generated content. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: frequency_penalty + type: number + label: Frequency penalty + description: Penalizes words based on how often they already appear in the generated text. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: safe_prompt + type: boolean + label: Safe prompt + description: Controls whether Mistral injects its safety prompt before the conversation. + default: false + group: provider_metadata diff --git a/models/mistral/mistral-large-4.yaml b/models/mistral/mistral-large-4.yaml new file mode 100644 index 00000000..4681f33a --- /dev/null +++ b/models/mistral/mistral-large-4.yaml @@ -0,0 +1,65 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: mistral +authType: api_key +apiSurface: openai-chat-completions +model: mistral-large-4 +params: + - path: max_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the completion. + range: + min: 1 + group: generation_length + - path: temperature + type: number + label: Temperature + description: Controls randomness. Lower values make outputs more focused; higher values make them more varied. + range: + min: 0.1 + max: 1.5 + step: 0.1 + group: sampling + - path: top_p + type: number + label: Top P + description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. + default: 1 + range: + min: 0.01 + max: 1 + step: 0.01 + group: sampling + - path: random_seed + type: integer + label: Random seed + description: Seed used for deterministic sampling when reproducible outputs are desired. + range: + min: 0 + group: sampling + - path: presence_penalty + type: number + label: Presence penalty + description: Penalizes repeated words or phrases to encourage a wider variety of generated content. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: frequency_penalty + type: number + label: Frequency penalty + description: Penalizes words based on how often they already appear in the generated text. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: safe_prompt + type: boolean + label: Safe prompt + description: Controls whether Mistral injects its safety prompt before the conversation. + default: false + group: provider_metadata diff --git a/models/openai/gpt-3.5-turbo-1106.yaml b/models/openai/gpt-3.5-turbo-1106.yaml index 857e6ab4..44d9fb97 100644 --- a/models/openai/gpt-3.5-turbo-1106.yaml +++ b/models/openai/gpt-3.5-turbo-1106.yaml @@ -3,6 +3,7 @@ provider: openai authType: api_key apiSurface: openai-chat-completions model: gpt-3.5-turbo-1106 +status: retired params: - path: max_tokens type: integer diff --git a/models/opencode-go/space-bunny-subscription.yaml b/models/opencode-go/space-bunny-subscription.yaml new file mode 100644 index 00000000..0e0019c3 --- /dev/null +++ b/models/opencode-go/space-bunny-subscription.yaml @@ -0,0 +1,65 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: opencode-go +authType: subscription +apiSurface: openai-chat-completions +model: space-bunny +wireId: opencode-go/space-bunny +params: + - path: max_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the response. + range: + min: 1 + group: generation_length + - path: temperature + type: number + label: Temperature + description: Controls randomness. Lower values make outputs more focused; higher values make them more varied. + range: + min: 0 + max: 1.9 + step: 0.1 + group: sampling + - path: top_p + type: number + label: Top P + description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. + range: + min: 0.01 + max: 1 + step: 0.01 + group: sampling + - path: top_k + type: integer + label: Top K + description: Limits token sampling to the top K most likely next tokens. + range: + min: 1 + group: sampling + - path: presence_penalty + type: number + label: Presence penalty + description: Penalizes tokens that have already appeared to encourage a wider variety of content. + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: frequency_penalty + type: number + label: Frequency penalty + description: Penalizes tokens in proportion to how often they have already appeared. + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: response_format.type + type: enum + label: Response format + description: Choose plain text or force valid JSON output. + values: + - text + - json_object + group: output_format diff --git a/packages/modelparams-python/src/modelparams/_generated/catalog.json b/packages/modelparams-python/src/modelparams/_generated/catalog.json index c3dd6399..3b2e407f 100644 --- a/packages/modelparams-python/src/modelparams/_generated/catalog.json +++ b/packages/modelparams-python/src/modelparams/_generated/catalog.json @@ -15067,6 +15067,7 @@ "apiSurface": "openai-chat-completions", "model": "glm-5p2", "wireId": "accounts/fireworks/models/glm-5p2", + "status": "retired", "params": [ { "path": "max_tokens", @@ -23013,6 +23014,180 @@ } ] }, + { + "provider": "mistral", + "authType": "api_key", + "apiSurface": "openai-chat-completions", + "model": "mistral-large-4", + "params": [ + { + "path": "max_tokens", + "label": "Max tokens", + "description": "Maximum number of tokens to generate in the completion.", + "group": "generation_length", + "type": "integer", + "range": { + "min": 1 + } + }, + { + "path": "temperature", + "label": "Temperature", + "description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.", + "group": "sampling", + "type": "number", + "range": { + "min": 0.1, + "max": 1.5, + "step": 0.1 + } + }, + { + "path": "top_p", + "label": "Top P", + "description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.", + "group": "sampling", + "type": "number", + "default": 1, + "range": { + "min": 0.01, + "max": 1, + "step": 0.01 + } + }, + { + "path": "random_seed", + "label": "Random seed", + "description": "Seed used for deterministic sampling when reproducible outputs are desired.", + "group": "sampling", + "type": "integer", + "range": { + "min": 0 + } + }, + { + "path": "presence_penalty", + "label": "Presence penalty", + "description": "Penalizes repeated words or phrases to encourage a wider variety of generated content.", + "group": "sampling", + "type": "number", + "default": 0, + "range": { + "min": -2, + "max": 2, + "step": 0.1 + } + }, + { + "path": "frequency_penalty", + "label": "Frequency penalty", + "description": "Penalizes words based on how often they already appear in the generated text.", + "group": "sampling", + "type": "number", + "default": 0, + "range": { + "min": -2, + "max": 2, + "step": 0.1 + } + }, + { + "path": "safe_prompt", + "label": "Safe prompt", + "description": "Controls whether Mistral injects its safety prompt before the conversation.", + "group": "provider_metadata", + "type": "boolean", + "default": false + } + ] + }, + { + "provider": "mistral", + "authType": "api_key", + "apiSurface": "openai-chat-completions", + "model": "mistral-large-4-0", + "params": [ + { + "path": "max_tokens", + "label": "Max tokens", + "description": "Maximum number of tokens to generate in the completion.", + "group": "generation_length", + "type": "integer", + "range": { + "min": 1 + } + }, + { + "path": "temperature", + "label": "Temperature", + "description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.", + "group": "sampling", + "type": "number", + "range": { + "min": 0.1, + "max": 1.5, + "step": 0.1 + } + }, + { + "path": "top_p", + "label": "Top P", + "description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.", + "group": "sampling", + "type": "number", + "default": 1, + "range": { + "min": 0.01, + "max": 1, + "step": 0.01 + } + }, + { + "path": "random_seed", + "label": "Random seed", + "description": "Seed used for deterministic sampling when reproducible outputs are desired.", + "group": "sampling", + "type": "integer", + "range": { + "min": 0 + } + }, + { + "path": "presence_penalty", + "label": "Presence penalty", + "description": "Penalizes repeated words or phrases to encourage a wider variety of generated content.", + "group": "sampling", + "type": "number", + "default": 0, + "range": { + "min": -2, + "max": 2, + "step": 0.1 + } + }, + { + "path": "frequency_penalty", + "label": "Frequency penalty", + "description": "Penalizes words based on how often they already appear in the generated text.", + "group": "sampling", + "type": "number", + "default": 0, + "range": { + "min": -2, + "max": 2, + "step": 0.1 + } + }, + { + "path": "safe_prompt", + "label": "Safe prompt", + "description": "Controls whether Mistral injects its safety prompt before the conversation.", + "group": "provider_metadata", + "type": "boolean", + "default": false + } + ] + }, { "provider": "mistral", "authType": "api_key", @@ -27961,6 +28136,7 @@ "authType": "api_key", "apiSurface": "openai-chat-completions", "model": "gpt-3.5-turbo-1106", + "status": "retired", "params": [ { "path": "max_tokens", @@ -31916,6 +32092,94 @@ } ] }, + { + "provider": "opencode-go", + "authType": "subscription", + "apiSurface": "openai-chat-completions", + "model": "space-bunny", + "wireId": "opencode-go/space-bunny", + "params": [ + { + "path": "max_tokens", + "label": "Max tokens", + "description": "Maximum number of tokens to generate in the response.", + "group": "generation_length", + "type": "integer", + "range": { + "min": 1 + } + }, + { + "path": "temperature", + "label": "Temperature", + "description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.", + "group": "sampling", + "type": "number", + "range": { + "min": 0, + "max": 1.9, + "step": 0.1 + } + }, + { + "path": "top_p", + "label": "Top P", + "description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.", + "group": "sampling", + "type": "number", + "range": { + "min": 0.01, + "max": 1, + "step": 0.01 + } + }, + { + "path": "top_k", + "label": "Top K", + "description": "Limits token sampling to the top K most likely next tokens.", + "group": "sampling", + "type": "integer", + "range": { + "min": 1 + } + }, + { + "path": "presence_penalty", + "label": "Presence penalty", + "description": "Penalizes tokens that have already appeared to encourage a wider variety of content.", + "group": "sampling", + "type": "number", + "range": { + "min": -2, + "max": 2, + "step": 0.1 + } + }, + { + "path": "frequency_penalty", + "label": "Frequency penalty", + "description": "Penalizes tokens in proportion to how often they have already appeared.", + "group": "sampling", + "type": "number", + "range": { + "min": -2, + "max": 2, + "step": 0.1 + } + }, + { + "path": "response_format.type", + "label": "Response format", + "description": "Choose plain text or force valid JSON output.", + "group": "output_format", + "type": "enum", + "values": [ + "text", + "json_object" + ] + } + ] + }, { "provider": "perplexity", "authType": "api_key", diff --git a/packages/modelparams-python/src/modelparams/_generated/model_ids.py b/packages/modelparams-python/src/modelparams/_generated/model_ids.py index dcf9910d..0a645e36 100644 --- a/packages/modelparams-python/src/modelparams/_generated/model_ids.py +++ b/packages/modelparams-python/src/modelparams/_generated/model_ids.py @@ -293,6 +293,8 @@ "mistral/ministral-8b-latest", "mistral/mistral-code-latest", "mistral/mistral-large-2512", + "mistral/mistral-large-4", + "mistral/mistral-large-4-0", "mistral/mistral-large-latest", "mistral/mistral-medium", "mistral/mistral-medium-2604", @@ -429,6 +431,7 @@ "opencode-go/qwen3.8-flash-subscription", "opencode-go/qwen3.8-max-subscription", "opencode-go/space-bunny-free-subscription", + "opencode-go/space-bunny-subscription", "perplexity/sonar", "perplexity/sonar-deep-research", "perplexity/sonar-pro", @@ -778,6 +781,8 @@ "mistral/ministral-8b-latest", "mistral/mistral-code-latest", "mistral/mistral-large-2512", + "mistral/mistral-large-4", + "mistral/mistral-large-4-0", "mistral/mistral-large-latest", "mistral/mistral-medium", "mistral/mistral-medium-2604", @@ -914,6 +919,7 @@ "opencode-go/qwen3.8-flash-subscription", "opencode-go/qwen3.8-max-subscription", "opencode-go/space-bunny-free-subscription", + "opencode-go/space-bunny-subscription", "perplexity/sonar", "perplexity/sonar-deep-research", "perplexity/sonar-pro", diff --git a/packages/modelparams-python/src/modelparams/_generated/registry.py b/packages/modelparams-python/src/modelparams/_generated/registry.py index 1a89e740..9af5300d 100644 --- a/packages/modelparams-python/src/modelparams/_generated/registry.py +++ b/packages/modelparams-python/src/modelparams/_generated/registry.py @@ -318,6 +318,8 @@ "mistral/ministral-8b-latest": mistral.Ministral_8b_LatestParams, "mistral/mistral-code-latest": mistral.Mistral_Code_LatestParams, "mistral/mistral-large-2512": mistral.Mistral_Large_2512Params, + "mistral/mistral-large-4": mistral.Mistral_Large_4Params, + "mistral/mistral-large-4-0": mistral.Mistral_Large_4_0Params, "mistral/mistral-large-latest": mistral.Mistral_Large_LatestParams, "mistral/mistral-medium": mistral.Mistral_MediumParams, "mistral/mistral-medium-2604": mistral.Mistral_Medium_2604Params, @@ -454,6 +456,7 @@ "opencode-go/qwen3.8-flash-subscription": opencode_go.Qwen3_8_Flash_SubscriptionParams, "opencode-go/qwen3.8-max-subscription": opencode_go.Qwen3_8_Max_SubscriptionParams, "opencode-go/space-bunny-free-subscription": opencode_go.Space_Bunny_Free_SubscriptionParams, + "opencode-go/space-bunny-subscription": opencode_go.Space_Bunny_SubscriptionParams, "perplexity/sonar": perplexity.SonarParams, "perplexity/sonar-deep-research": perplexity.Sonar_Deep_ResearchParams, "perplexity/sonar-pro": perplexity.Sonar_ProParams, diff --git a/packages/modelparams-python/src/modelparams/types/mistral.py b/packages/modelparams-python/src/modelparams/types/mistral.py index c0bbcabf..3f850158 100644 --- a/packages/modelparams-python/src/modelparams/types/mistral.py +++ b/packages/modelparams-python/src/modelparams/types/mistral.py @@ -266,6 +266,36 @@ ) setattr(Mistral_Large_2512Params, "__pydantic_config__", _PARAMS_CONFIG) +Mistral_Large_4Params = TypedDict( + "Mistral_Large_4Params", + { + "max_tokens": Annotated[int, Field(ge=1)], + "temperature": Annotated[float, Field(ge=0.1, le=1.5)], + "top_p": Annotated[float, Field(ge=0.01, le=1)], + "random_seed": Annotated[int, Field(ge=0)], + "presence_penalty": Annotated[float, Field(ge=-2, le=2)], + "frequency_penalty": Annotated[float, Field(ge=-2, le=2)], + "safe_prompt": bool, + }, + total=False, +) +setattr(Mistral_Large_4Params, "__pydantic_config__", _PARAMS_CONFIG) + +Mistral_Large_4_0Params = TypedDict( + "Mistral_Large_4_0Params", + { + "max_tokens": Annotated[int, Field(ge=1)], + "temperature": Annotated[float, Field(ge=0.1, le=1.5)], + "top_p": Annotated[float, Field(ge=0.01, le=1)], + "random_seed": Annotated[int, Field(ge=0)], + "presence_penalty": Annotated[float, Field(ge=-2, le=2)], + "frequency_penalty": Annotated[float, Field(ge=-2, le=2)], + "safe_prompt": bool, + }, + total=False, +) +setattr(Mistral_Large_4_0Params, "__pydantic_config__", _PARAMS_CONFIG) + Mistral_Large_LatestParams = TypedDict( "Mistral_Large_LatestParams", { @@ -525,6 +555,8 @@ "Ministral_8b_LatestParams", "Mistral_Code_LatestParams", "Mistral_Large_2512Params", + "Mistral_Large_4Params", + "Mistral_Large_4_0Params", "Mistral_Large_LatestParams", "Mistral_MediumParams", "Mistral_Medium_2604Params", diff --git a/packages/modelparams-python/src/modelparams/types/opencode_go.py b/packages/modelparams-python/src/modelparams/types/opencode_go.py index b2172e6b..d745ab64 100644 --- a/packages/modelparams-python/src/modelparams/types/opencode_go.py +++ b/packages/modelparams-python/src/modelparams/types/opencode_go.py @@ -242,6 +242,21 @@ ) setattr(Space_Bunny_Free_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG) +Space_Bunny_SubscriptionParams = TypedDict( + "Space_Bunny_SubscriptionParams", + { + "max_tokens": Annotated[int, Field(ge=1)], + "temperature": Annotated[float, Field(ge=0, le=1.9)], + "top_p": Annotated[float, Field(ge=0.01, le=1)], + "top_k": Annotated[int, Field(ge=1)], + "presence_penalty": Annotated[float, Field(ge=-2, le=2)], + "frequency_penalty": Annotated[float, Field(ge=-2, le=2)], + "response_format.type": Literal["text", "json_object"], + }, + total=False, +) +setattr(Space_Bunny_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG) + __all__ = [ "Deepseek_Flash_SubscriptionParams", "Deepseek_V4_Flash_Vision_Exp_SubscriptionParams", @@ -259,4 +274,5 @@ "Qwen3_8_Flash_SubscriptionParams", "Qwen3_8_Max_SubscriptionParams", "Space_Bunny_Free_SubscriptionParams", + "Space_Bunny_SubscriptionParams", ] diff --git a/packages/modelparams/src/generated/data.ts b/packages/modelparams/src/generated/data.ts index 71f43ef1..34a61c8d 100644 --- a/packages/modelparams/src/generated/data.ts +++ b/packages/modelparams/src/generated/data.ts @@ -15072,6 +15072,7 @@ const GENERATED_CATALOG = [ "apiSurface": "openai-chat-completions", "model": "glm-5p2", "wireId": "accounts/fireworks/models/glm-5p2", + "status": "retired", "params": [ { "path": "max_tokens", @@ -23018,6 +23019,180 @@ const GENERATED_CATALOG = [ } ] }, + { + "provider": "mistral", + "authType": "api_key", + "apiSurface": "openai-chat-completions", + "model": "mistral-large-4", + "params": [ + { + "path": "max_tokens", + "label": "Max tokens", + "description": "Maximum number of tokens to generate in the completion.", + "group": "generation_length", + "type": "integer", + "range": { + "min": 1 + } + }, + { + "path": "temperature", + "label": "Temperature", + "description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.", + "group": "sampling", + "type": "number", + "range": { + "min": 0.1, + "max": 1.5, + "step": 0.1 + } + }, + { + "path": "top_p", + "label": "Top P", + "description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.", + "group": "sampling", + "type": "number", + "default": 1, + "range": { + "min": 0.01, + "max": 1, + "step": 0.01 + } + }, + { + "path": "random_seed", + "label": "Random seed", + "description": "Seed used for deterministic sampling when reproducible outputs are desired.", + "group": "sampling", + "type": "integer", + "range": { + "min": 0 + } + }, + { + "path": "presence_penalty", + "label": "Presence penalty", + "description": "Penalizes repeated words or phrases to encourage a wider variety of generated content.", + "group": "sampling", + "type": "number", + "default": 0, + "range": { + "min": -2, + "max": 2, + "step": 0.1 + } + }, + { + "path": "frequency_penalty", + "label": "Frequency penalty", + "description": "Penalizes words based on how often they already appear in the generated text.", + "group": "sampling", + "type": "number", + "default": 0, + "range": { + "min": -2, + "max": 2, + "step": 0.1 + } + }, + { + "path": "safe_prompt", + "label": "Safe prompt", + "description": "Controls whether Mistral injects its safety prompt before the conversation.", + "group": "provider_metadata", + "type": "boolean", + "default": false + } + ] + }, + { + "provider": "mistral", + "authType": "api_key", + "apiSurface": "openai-chat-completions", + "model": "mistral-large-4-0", + "params": [ + { + "path": "max_tokens", + "label": "Max tokens", + "description": "Maximum number of tokens to generate in the completion.", + "group": "generation_length", + "type": "integer", + "range": { + "min": 1 + } + }, + { + "path": "temperature", + "label": "Temperature", + "description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.", + "group": "sampling", + "type": "number", + "range": { + "min": 0.1, + "max": 1.5, + "step": 0.1 + } + }, + { + "path": "top_p", + "label": "Top P", + "description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.", + "group": "sampling", + "type": "number", + "default": 1, + "range": { + "min": 0.01, + "max": 1, + "step": 0.01 + } + }, + { + "path": "random_seed", + "label": "Random seed", + "description": "Seed used for deterministic sampling when reproducible outputs are desired.", + "group": "sampling", + "type": "integer", + "range": { + "min": 0 + } + }, + { + "path": "presence_penalty", + "label": "Presence penalty", + "description": "Penalizes repeated words or phrases to encourage a wider variety of generated content.", + "group": "sampling", + "type": "number", + "default": 0, + "range": { + "min": -2, + "max": 2, + "step": 0.1 + } + }, + { + "path": "frequency_penalty", + "label": "Frequency penalty", + "description": "Penalizes words based on how often they already appear in the generated text.", + "group": "sampling", + "type": "number", + "default": 0, + "range": { + "min": -2, + "max": 2, + "step": 0.1 + } + }, + { + "path": "safe_prompt", + "label": "Safe prompt", + "description": "Controls whether Mistral injects its safety prompt before the conversation.", + "group": "provider_metadata", + "type": "boolean", + "default": false + } + ] + }, { "provider": "mistral", "authType": "api_key", @@ -27966,6 +28141,7 @@ const GENERATED_CATALOG = [ "authType": "api_key", "apiSurface": "openai-chat-completions", "model": "gpt-3.5-turbo-1106", + "status": "retired", "params": [ { "path": "max_tokens", @@ -31921,6 +32097,94 @@ const GENERATED_CATALOG = [ } ] }, + { + "provider": "opencode-go", + "authType": "subscription", + "apiSurface": "openai-chat-completions", + "model": "space-bunny", + "wireId": "opencode-go/space-bunny", + "params": [ + { + "path": "max_tokens", + "label": "Max tokens", + "description": "Maximum number of tokens to generate in the response.", + "group": "generation_length", + "type": "integer", + "range": { + "min": 1 + } + }, + { + "path": "temperature", + "label": "Temperature", + "description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.", + "group": "sampling", + "type": "number", + "range": { + "min": 0, + "max": 1.9, + "step": 0.1 + } + }, + { + "path": "top_p", + "label": "Top P", + "description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.", + "group": "sampling", + "type": "number", + "range": { + "min": 0.01, + "max": 1, + "step": 0.01 + } + }, + { + "path": "top_k", + "label": "Top K", + "description": "Limits token sampling to the top K most likely next tokens.", + "group": "sampling", + "type": "integer", + "range": { + "min": 1 + } + }, + { + "path": "presence_penalty", + "label": "Presence penalty", + "description": "Penalizes tokens that have already appeared to encourage a wider variety of content.", + "group": "sampling", + "type": "number", + "range": { + "min": -2, + "max": 2, + "step": 0.1 + } + }, + { + "path": "frequency_penalty", + "label": "Frequency penalty", + "description": "Penalizes tokens in proportion to how often they have already appeared.", + "group": "sampling", + "type": "number", + "range": { + "min": -2, + "max": 2, + "step": 0.1 + } + }, + { + "path": "response_format.type", + "label": "Response format", + "description": "Choose plain text or force valid JSON output.", + "group": "output_format", + "type": "enum", + "values": [ + "text", + "json_object" + ] + } + ] + }, { "provider": "perplexity", "authType": "api_key", diff --git a/packages/modelparams/src/generated/defaults.ts b/packages/modelparams/src/generated/defaults.ts index b3a15acd..976dbd73 100644 --- a/packages/modelparams/src/generated/defaults.ts +++ b/packages/modelparams/src/generated/defaults.ts @@ -1329,6 +1329,18 @@ export const DEFAULTS = { "response_format.type": "text", safe_prompt: false, }, + "mistral/mistral-large-4": { + top_p: 1, + presence_penalty: 0, + frequency_penalty: 0, + safe_prompt: false, + }, + "mistral/mistral-large-4-0": { + top_p: 1, + presence_penalty: 0, + frequency_penalty: 0, + safe_prompt: false, + }, "mistral/mistral-large-latest": { top_p: 1, presence_penalty: 0, @@ -2023,6 +2035,7 @@ export const DEFAULTS = { "opencode-go/qwen3.8-flash-subscription": {}, "opencode-go/qwen3.8-max-subscription": {}, "opencode-go/space-bunny-free-subscription": {}, + "opencode-go/space-bunny-subscription": {}, "perplexity/sonar": { "web_search_options.search_context_size": "low", return_images: false, diff --git a/packages/modelparams/src/generated/model-ids.ts b/packages/modelparams/src/generated/model-ids.ts index cc9a473b..36b801ec 100644 --- a/packages/modelparams/src/generated/model-ids.ts +++ b/packages/modelparams/src/generated/model-ids.ts @@ -291,6 +291,8 @@ export const MODEL_IDS = [ "mistral/ministral-8b-latest", "mistral/mistral-code-latest", "mistral/mistral-large-2512", + "mistral/mistral-large-4", + "mistral/mistral-large-4-0", "mistral/mistral-large-latest", "mistral/mistral-medium", "mistral/mistral-medium-2604", @@ -427,6 +429,7 @@ export const MODEL_IDS = [ "opencode-go/qwen3.8-flash-subscription", "opencode-go/qwen3.8-max-subscription", "opencode-go/space-bunny-free-subscription", + "opencode-go/space-bunny-subscription", "perplexity/sonar", "perplexity/sonar-deep-research", "perplexity/sonar-pro", diff --git a/packages/modelparams/src/generated/params-by-id.ts b/packages/modelparams/src/generated/params-by-id.ts index 33851cfc..353f141f 100644 --- a/packages/modelparams/src/generated/params-by-id.ts +++ b/packages/modelparams/src/generated/params-by-id.ts @@ -2306,6 +2306,24 @@ export type ParamsById = { "response_format.type": "text" | "json_object" | "json_schema"; safe_prompt: boolean; }; + "mistral/mistral-large-4": { + max_tokens: number; + temperature: number; + top_p: number; + random_seed: number; + presence_penalty: number; + frequency_penalty: number; + safe_prompt: boolean; + }; + "mistral/mistral-large-4-0": { + max_tokens: number; + temperature: number; + top_p: number; + random_seed: number; + presence_penalty: number; + frequency_penalty: number; + safe_prompt: boolean; + }; "mistral/mistral-large-latest": { max_tokens: number; stop: string; @@ -3241,6 +3259,15 @@ export type ParamsById = { frequency_penalty: number; "response_format.type": "text" | "json_object"; }; + "opencode-go/space-bunny-subscription": { + max_tokens: number; + temperature: number; + top_p: number; + top_k: number; + presence_penalty: number; + frequency_penalty: number; + "response_format.type": "text" | "json_object"; + }; "perplexity/sonar": { max_tokens: number; temperature: number;