diff --git a/packages/website/src/pages/docs/features/models/page.tsx b/packages/website/src/pages/docs/features/models/page.tsx index b3819a1..b1fd6db 100644 --- a/packages/website/src/pages/docs/features/models/page.tsx +++ b/packages/website/src/pages/docs/features/models/page.tsx @@ -247,16 +247,34 @@ LLM_MODEL_NAME="qwen3:14b"`} {isZh ? '确保上下文长度大于输入 token 数,否则 Ollama 会静默截断 prompt。普通页面约需 15k token,随步骤增加。默认 4k 上下文长度无法正常工作' : 'Ensure context length exceeds input tokens, or Ollama will silently truncate prompts. ~15k tokens for a typical page, increases with steps. Default 4k context length will NOT work'} -
- $env:OLLAMA_CONTEXT_LENGTH=64000; ollama serve
-
- + {isZh + ? '启动 Ollama 时建议配置以下环境变量:扩大上下文窗口、允许跨域访问、监听所有网络接口。' + : 'Start Ollama with these environment variables: larger context window, allow cross-origin access, and listen on all interfaces.'} +
+ +macOS / Linux
++ Windows (PowerShell) +
+