deerflow2/backend/packages/harness/deerflow
Matthew d62661e1eb fix: add null checks for runtime.context in middlewares and tools (#1269)
Add defensive null checks before accessing runtime.context.get() to
prevent AttributeError when runtime.context is None. This affects:
- UploadsMiddleware
- MemoryMiddleware
- LoopDetectionMiddleware
- SandboxMiddleware
- sandbox tools
- setup_agent_tool
- present_file_tool
- task_tool

Also adds .env loading in serve.sh for environment variable support.

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-03-25 08:46:42 +08:00
..
agents fix: add null checks for runtime.context in middlewares and tools (#1269) 2026-03-25 08:46:42 +08:00
community infoquest support image-search (#1255) 2026-03-23 17:06:56 +08:00
config feat: add configurable log level and token usage tracking (#1301) 2026-03-25 08:13:26 +08:00
guardrails feat(guardrails): add pre-tool-call authorization middleware with pluggable providers (#1240) 2026-03-23 18:07:33 +08:00
mcp fix(mcp): implement sync invocation wrapper for async MCP tools (#1287) 2026-03-24 22:38:01 +08:00
models feat: add Claude Code OAuth and Codex CLI as LLM providers (#1166) 2026-03-22 22:39:50 +08:00
reflection refactor: split backend into harness (deerflow.*) and app (app.*) (#1131) 2026-03-14 22:55:52 +08:00
sandbox fix: add null checks for runtime.context in middlewares and tools (#1269) 2026-03-25 08:46:42 +08:00
skills fix(skills): follow symlinks when scanning custom skills directory (#1292) 2026-03-24 22:06:29 +08:00
subagents fix: normalize structured LLM content in serialization and memory updater (#1215) 2026-03-22 17:29:29 +08:00
tools fix: add null checks for runtime.context in middlewares and tools (#1269) 2026-03-25 08:46:42 +08:00
utils refactor: split backend into harness (deerflow.*) and app (app.*) (#1131) 2026-03-14 22:55:52 +08:00
__init__.py refactor: split backend into harness (deerflow.*) and app (app.*) (#1131) 2026-03-14 22:55:52 +08:00
client.py feat(client): support agent_name injection to enable isolated memory and custom prompts (#1253) 2026-03-23 17:44:21 +08:00