mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-20 15:11:09 +00:00
Merge branch 'main' into rayhpeng/persistence-scaffold
# Conflicts: # .env.example # backend/packages/harness/deerflow/agents/middlewares/title_middleware.py
This commit is contained in:
+43
-1
@@ -12,7 +12,7 @@
|
||||
# ============================================================================
|
||||
# Bump this number when the config schema changes.
|
||||
# Run `make config-upgrade` to merge new fields into your local config.yaml.
|
||||
config_version: 4
|
||||
config_version: 5
|
||||
|
||||
# ============================================================================
|
||||
# Logging
|
||||
@@ -324,6 +324,16 @@ tools:
|
||||
group: file:read
|
||||
use: deerflow.sandbox.tools:read_file_tool
|
||||
|
||||
- name: glob
|
||||
group: file:read
|
||||
use: deerflow.sandbox.tools:glob_tool
|
||||
max_results: 200
|
||||
|
||||
- name: grep
|
||||
group: file:read
|
||||
use: deerflow.sandbox.tools:grep_tool
|
||||
max_results: 100
|
||||
|
||||
- name: write_file
|
||||
group: file:write
|
||||
use: deerflow.sandbox.tools:write_file_tool
|
||||
@@ -358,12 +368,34 @@ tool_search:
|
||||
|
||||
# Option 1: Local Sandbox (Default)
|
||||
# Executes commands directly on the host machine
|
||||
uploads:
|
||||
# PDF-to-Markdown converter used when a PDF is uploaded.
|
||||
# auto — prefer pymupdf4llm when installed; fall back to MarkItDown for
|
||||
# image-based or encrypted PDFs (recommended default).
|
||||
# pymupdf4llm — always use pymupdf4llm (must be installed: uv add pymupdf4llm).
|
||||
# Better heading/table extraction; faster on most files.
|
||||
# markitdown — always use MarkItDown (original behaviour, no extra dependency).
|
||||
pdf_converter: auto
|
||||
|
||||
sandbox:
|
||||
use: deerflow.sandbox.local:LocalSandboxProvider
|
||||
# Host bash execution is disabled by default because LocalSandboxProvider is
|
||||
# not a secure isolation boundary for shell access. Enable only for fully
|
||||
# trusted, single-user local workflows.
|
||||
allow_host_bash: false
|
||||
# Optional: Mount additional host directories into the sandbox.
|
||||
# Each mount maps a host path to a virtual container path accessible by the agent.
|
||||
# mounts:
|
||||
# - host_path: /home/user/my-project # Absolute path on the host machine
|
||||
# container_path: /mnt/my-project # Virtual path inside the sandbox
|
||||
# read_only: true # Whether the mount is read-only (default: false)
|
||||
|
||||
# Tool output truncation limits (characters).
|
||||
# bash uses middle-truncation (head + tail) since errors can appear anywhere in the output.
|
||||
# read_file uses head-truncation since source code context is front-loaded.
|
||||
# Set to 0 to disable truncation.
|
||||
bash_output_max_chars: 20000
|
||||
read_file_output_max_chars: 50000
|
||||
|
||||
# Option 2: Container-based AIO Sandbox
|
||||
# Executes commands in isolated containers (Docker or Apple Container)
|
||||
@@ -476,6 +508,12 @@ skills:
|
||||
# Default: /mnt/skills
|
||||
container_path: /mnt/skills
|
||||
|
||||
# Note: To restrict which skills are loaded for a specific custom agent,
|
||||
# define a `skills` list in that agent's `config.yaml` (e.g. `agents/my-agent/config.yaml`):
|
||||
# - Omitted or null: load all globally enabled skills (default)
|
||||
# - []: disable all skills for this agent
|
||||
# - ["skill-name"]: load only specific skills
|
||||
|
||||
# ============================================================================
|
||||
# Title Generation Configuration
|
||||
# ============================================================================
|
||||
@@ -685,6 +723,10 @@ run_events:
|
||||
# context:
|
||||
# thinking_enabled: true
|
||||
# subagent_enabled: true
|
||||
# wecom:
|
||||
# enabled: false
|
||||
# bot_id: $WECOM_BOT_ID
|
||||
# bot_secret: $WECOM_BOT_SECRET
|
||||
|
||||
# ============================================================================
|
||||
# Guardrails Configuration
|
||||
|
||||
Reference in New Issue
Block a user