evidence-writer
by ff199612
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WEB_PORT | No | 写作台监听端口,仅绑定 127.0.0.1。 | 5173 |
| PYTHON_PATH | No | Python 解释器路径,需装 pymupdf。默认空,使用 PATH。 | |
| OPENAI_MODEL | No | 模型 ID。默认空。 | |
| SAG_CLI_PATH | No | SAG CLI 路径。默认:~/.local/bin/sag(.exe) | |
| SAG_DIRECTORY | No | 指定 SAG 索引根目录。默认空,自动探测。 | |
| OPENAI_API_KEY | No | 云端模型必填;本地模型可留空。默认空。 | |
| PDF_TIMEOUT_MS | No | PDF 提取超时。 | 120000 |
| SAG_TIMEOUT_MS | No | SAG 调用超时。 | 60000 |
| OPENAI_BASE_URL | No | OpenAI-compatible 端点,可为本地 http://127.0.0.1:11434/v1。默认空。 | |
| SAG_SEARCH_MODE | No | auto = 语义优先、缺 JEV 时本地正则回退;semantic / literal 强制单模式。 | auto |
| MODEL_TIMEOUT_MS | No | 单次模型调用超时。 | 120000 |
| MODEL_MAX_RETRIES | No | 网络错误/429/5xx 重试次数,401 不重试。 | 2 |
| WEB_SEARCH_API_KEY | No | Tavily / Serper / Brave 的 API Key。默认空。 | |
| WEB_SEARCH_PROVIDER | No | duckduckgo / tavily / serper / brave。 | duckduckgo |
| EVIDENCE_WRITER_DATA | No | 数据目录。默认:%APPDATA%/evidence-writer | |
| WEB_SEARCH_TIMEOUT_MS | No | 单次联网检索超时。 | 12000 |
| WEB_SEARCH_MAX_RESULTS | No | 单次联网检索最多返回条数。 | 6 |
| EVIDENCE_WRITER_WEB_SEARCH | No | 设为 1 / true 启用联网核查,默认关闭;1 表示允许检索词出网。 | false |
| EVIDENCE_WRITER_MONTHLY_TOKEN_QUOTA | No | 本地月度 token 上限;0 表示不限量。 | 0 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |