sync update from LAN repo (source dhk-1 @ 3e87be55)

This commit is contained in:
gozeros committed 2026-10-21 15:06:08 +08:00
1 parent ab6068a7c1
commit 42f2a26fa8
1482 files changed
+227759 -9584

No files matched your search

+44 -1
View File
@@ -1,5 +1,21 @@
config_version: 8
log_level: info
# 高并发运行时优化。技能视图两项不写也默认开启,要关掉才写成 false。修改后需重启后台。
runtime_performance:
skill_view_reuse_enabled: true # 默认开启;false 才关闭。单次工具调用复用一次技能视图
skill_view_cache_enabled: true # 默认开启;false 才关闭。校验版本后复用未变化的技能视图
model_timing_nonblocking_enabled: true # 模型计时日志独立队列,不争抢工具线程池
asyncio_thread_pool_enabled: true # 覆盖 Gateway asyncio 默认线程池
asyncio_thread_pool_size: 100 # 上限 1..1024;可被 .env 中线程池变量覆盖
# 后台生成 HTML 页面使用的 Leaflet 瓦片地址。浏览器版绘图库由 Gateway 的
# /api/public/html-runtime/ 提供,不依赖前端 node_modules 或公网 CDN。
html_runtime:
# 浏览器能直接访问的 Gateway 地址;内网部署时改成实际域名或 IP。
base_url: http://localhost:8001/api/public/html-runtime
map_tile_url: https://mt0.google.com/vt/lyrs=m&hl=zh-CN&x={x}&y={y}&z={z}
models:
# - name: deepseek-chat
# display_name: DeepSeek Chat
@@ -116,6 +132,33 @@ vision:
# max_tokens: 2048
knowledge_ingest:
url: "https://ch1.b.uat.4.cn/knowes/api/knowledge-outer/add"
# WeKnora connection can be supplied from the administrator settings page.
# Keep release credentials out of this portable offline template; a non-empty
# runtime URL activates WeKnora and hot-rebuilds the Wiki sync service.
llmwiki:
weknora:
api_base_url: ""
web_base_url: ""
admin_email: ""
admin_password: ""
local_wiki_index:
enabled: true
frontend_base_url: "http://127.0.0.1:5174"
# WeKnora Wiki generation is asynchronous, so the immediate scan alone can
# miss newly-created pages. Keep the incremental rescan enabled.
auto_sync: true
sync_interval_seconds: 30
database_batch_size: 50
embedding:
provider: local
model: bge-embedding-m3
dimensions: 1024
batch_size: 2
local_threads: 2
local_process_isolation: true
local_model_path: ""
base_url: ""
api_key: ""
# 上传文件识别配置。
# - auto_convert_documents: true 时,上传的 PDF / Word / Excel / PPT 会在服务端自动转换为
# Markdown(.md),agent 通过 read_file / grep 读取其内容 —— 即“识别”文档内容。
@@ -264,7 +307,7 @@ ai_writing:
# 三层覆盖优先级(高->低):
# users/{user_id}/memory_config.json > .deer-flow/memory_user_overrides.json > 此处
memory:
enabled: true
enabled: false # 临时关闭跨会话记忆(提取/注入/Hindsight 召回与 retain、memory 工具)
version: v1
provider: hindsight # 'builtin' | 'hindsight'(外部 provider 名)
# builtin 始终启用,这里只决定 external 选哪个