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
Copy file name to clipboardExpand all lines: apps/site/docs/en/model-config.mdx
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,6 @@ If you configure a dedicated Insight or Planning model, model-related `MIDSCENE_
43
43
|------|-------------|
44
44
|`MIDSCENE_MODEL_TIMEOUT`| Hard timeout for AI API calls in milliseconds (default intent). Defaults to `180000` (180s). Set to `0` to disable the hard timeout and let the request run indefinitely (only a caller-provided `AbortSignal` will cancel it). Note: Midscene controls the full request lifetime, not just the time until the first response header arrives, so stalled body reads can still be terminated cleanly |
45
45
|`MIDSCENE_MODEL_TEMPERATURE`| Sampling temperature for model responses |
46
-
|`MIDSCENE_MODEL_MAX_TOKENS`|`max_tokens` for responses, default 2048 |
47
46
|`MIDSCENE_MODEL_RETRY_COUNT`| Number of retries when AI call fails, default 1 (i.e., retry once after failure) |
48
47
|`MIDSCENE_MODEL_RETRY_INTERVAL`| Interval between retries in milliseconds, default 2000 |
49
48
|`MIDSCENE_MODEL_REASONING_ENABLED`| Enable or disable model-native reasoning/thinking. Set to `"true"` or `"false"`. For supported model families, Midscene disables model-native thinking by default when this variable is unset. See [Model-Native Thinking Mode](./model-strategy#model-native-thinking-mode). Explicit reasoning config requires a supported `MIDSCENE_MODEL_FAMILY`|
@@ -68,7 +67,6 @@ Set the following if the Insight intent needs a different model:
68
67
|`MIDSCENE_INSIGHT_MODEL_BASE_URL`| API endpoint URL (omit the trailing `/chat/completion`) |
69
68
|`MIDSCENE_INSIGHT_MODEL_NAME`| Model name |
70
69
|`MIDSCENE_INSIGHT_MODEL_FAMILY`| Model family |
71
-
|`MIDSCENE_INSIGHT_MODEL_MAX_TOKENS`| Optional; `max_tokens` for Insight intent responses |
72
70
|`MIDSCENE_INSIGHT_MODEL_TIMEOUT`| Optional; timeout for Insight intent AI API calls in milliseconds |
73
71
|`MIDSCENE_INSIGHT_MODEL_TEMPERATURE`| Optional; sampling temperature for Insight intent responses |
74
72
|`MIDSCENE_INSIGHT_MODEL_RETRY_COUNT`| Optional; same effect as `MIDSCENE_MODEL_RETRY_COUNT`|
@@ -88,7 +86,6 @@ Set the following if the Planning intent needs a different model:
88
86
|`MIDSCENE_PLANNING_MODEL_BASE_URL`| API endpoint URL (omit the trailing `/chat/completion`) |
89
87
|`MIDSCENE_PLANNING_MODEL_NAME`| Model name |
90
88
|`MIDSCENE_PLANNING_MODEL_FAMILY`| Model family |
91
-
|`MIDSCENE_PLANNING_MODEL_MAX_TOKENS`| Optional; `max_tokens` for Planning intent responses |
92
89
|`MIDSCENE_PLANNING_MODEL_TIMEOUT`| Optional; timeout for Planning intent AI API calls in milliseconds |
93
90
|`MIDSCENE_PLANNING_MODEL_TEMPERATURE`| Optional; sampling temperature for Planning intent responses |
94
91
|`MIDSCENE_PLANNING_MODEL_RETRY_COUNT`| Optional; same effect as `MIDSCENE_MODEL_RETRY_COUNT`|
@@ -133,7 +130,6 @@ The following environment variables are deprecated but still compatible. We reco
133
130
|`MIDSCENE_OPENAI_INIT_CONFIG_JSON`| Deprecated but supported | Prefer `MIDSCENE_MODEL_INIT_CONFIG_JSON`|
134
131
|`MIDSCENE_OPENAI_HTTP_PROXY`| Deprecated but supported | Prefer `MIDSCENE_MODEL_HTTP_PROXY`|
135
132
|`MIDSCENE_OPENAI_SOCKS_PROXY`| Deprecated but supported | Prefer `MIDSCENE_MODEL_SOCKS_PROXY`|
136
-
|`OPENAI_MAX_TOKENS`| Deprecated but supported | Prefer `MIDSCENE_MODEL_MAX_TOKENS`|
0 commit comments