⚙️ 配置项参考
完整字段表。
sources
| 字段 | 类型 | 默认 | 说明 |
|---|---|---|---|
sources.zhudun.enabled | bool | true | 启用创宇盾 |
sources.zhudun.credentials[].key | string | - | API Key |
sources.zhudun.credentials[].quota_daily | int | 0 | 日配额 |
sources.miit.enabled | bool | true | 启用补全 |
ocr
| 字段 | 默认 | 说明 |
|---|---|---|
ocr.endpoint | - | OCR 地址 |
ocr.token | - | Token |
ocr.max_retry | 3 | 重试上限 |
ocr.timeout | 8s | 超时 |
rate_limit / cache / output / log
见 ⚙️ 配置。
环境变量映射
GO_ICP_<SECTION>_<KEY>,例:GO_ICP_CACHE_TTL。