You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 59bdee9
Browse filesBrowse the repository at this point in the historyBrowse files
description: Maximum number of tokens to generate, including both reasoning and the final answer.
11
+
range:
12
+
min: 1
13
+
group: generation_length
14
+
- path: temperature
15
+
type: number
16
+
label: Temperature
17
+
description: Controls randomness. Lower values make outputs more focused; higher values make them more varied.
18
+
range:
19
+
min: 0
20
+
max: 1.9
21
+
step: 0.1
22
+
group: sampling
23
+
- path: top_p
24
+
type: number
25
+
label: Top P
26
+
description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.
27
+
range:
28
+
min: 0
29
+
max: 1
30
+
step: 0.01
31
+
group: sampling
32
+
- path: extra_body.top_k
33
+
type: integer
34
+
label: Top K
35
+
description: Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling.
36
+
default: 20
37
+
range:
38
+
min: 0
39
+
group: sampling
40
+
- path: extra_body.enable_thinking
41
+
type: boolean
42
+
label: Enable thinking
43
+
description: Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients.
44
+
default: true
45
+
group: reasoning
46
+
- path: extra_body.thinking_budget
47
+
type: integer
48
+
label: Thinking budget
49
+
description: Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Copy file name to clipboardExpand all lines: packages/modelparams-python/src/modelparams/_generated/catalog.json
+76Lines changed: 76 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -457,6 +457,82 @@
457
457
}
458
458
]
459
459
},
460
+
{
461
+
"provider": "alibaba",
462
+
"authType": "api_key",
463
+
"apiSurface": "openai-chat-completions",
464
+
"model": "deepseek-v4.1-flash-1017",
465
+
"params": [
466
+
{
467
+
"path": "max_completion_tokens",
468
+
"label": "Max tokens",
469
+
"description": "Maximum number of tokens to generate, including both reasoning and the final answer.",
470
+
"group": "generation_length",
471
+
"type": "integer",
472
+
"range": {
473
+
"min": 1
474
+
}
475
+
},
476
+
{
477
+
"path": "temperature",
478
+
"label": "Temperature",
479
+
"description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.",
480
+
"group": "sampling",
481
+
"type": "number",
482
+
"range": {
483
+
"min": 0,
484
+
"max": 1.9,
485
+
"step": 0.1
486
+
}
487
+
},
488
+
{
489
+
"path": "top_p",
490
+
"label": "Top P",
491
+
"description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.",
492
+
"group": "sampling",
493
+
"type": "number",
494
+
"range": {
495
+
"min": 0,
496
+
"max": 1,
497
+
"step": 0.01
498
+
}
499
+
},
500
+
{
501
+
"path": "extra_body.top_k",
502
+
"label": "Top K",
503
+
"description": "Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling.",
504
+
"group": "sampling",
505
+
"type": "integer",
506
+
"default": 20,
507
+
"range": {
508
+
"min": 0
509
+
}
510
+
},
511
+
{
512
+
"path": "extra_body.enable_thinking",
513
+
"label": "Enable thinking",
514
+
"description": "Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients.",
515
+
"group": "reasoning",
516
+
"type": "boolean",
517
+
"default": true
518
+
},
519
+
{
520
+
"path": "extra_body.thinking_budget",
521
+
"label": "Thinking budget",
522
+
"description": "Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.",
Copy file name to clipboardExpand all lines: packages/modelparams/src/generated/data.ts
+76Lines changed: 76 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -462,6 +462,82 @@ const GENERATED_CATALOG = [
462
462
}
463
463
]
464
464
},
465
+
{
466
+
"provider": "alibaba",
467
+
"authType": "api_key",
468
+
"apiSurface": "openai-chat-completions",
469
+
"model": "deepseek-v4.1-flash-1017",
470
+
"params": [
471
+
{
472
+
"path": "max_completion_tokens",
473
+
"label": "Max tokens",
474
+
"description": "Maximum number of tokens to generate, including both reasoning and the final answer.",
475
+
"group": "generation_length",
476
+
"type": "integer",
477
+
"range": {
478
+
"min": 1
479
+
}
480
+
},
481
+
{
482
+
"path": "temperature",
483
+
"label": "Temperature",
484
+
"description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.",
485
+
"group": "sampling",
486
+
"type": "number",
487
+
"range": {
488
+
"min": 0,
489
+
"max": 1.9,
490
+
"step": 0.1
491
+
}
492
+
},
493
+
{
494
+
"path": "top_p",
495
+
"label": "Top P",
496
+
"description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.",
497
+
"group": "sampling",
498
+
"type": "number",
499
+
"range": {
500
+
"min": 0,
501
+
"max": 1,
502
+
"step": 0.01
503
+
}
504
+
},
505
+
{
506
+
"path": "extra_body.top_k",
507
+
"label": "Top K",
508
+
"description": "Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling.",
509
+
"group": "sampling",
510
+
"type": "integer",
511
+
"default": 20,
512
+
"range": {
513
+
"min": 0
514
+
}
515
+
},
516
+
{
517
+
"path": "extra_body.enable_thinking",
518
+
"label": "Enable thinking",
519
+
"description": "Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients.",
520
+
"group": "reasoning",
521
+
"type": "boolean",
522
+
"default": true
523
+
},
524
+
{
525
+
"path": "extra_body.thinking_budget",
526
+
"label": "Thinking budget",
527
+
"description": "Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.",
0 commit comments