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> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| clarification_tool.py | ||
| present_file_tool.py | ||
| setup_agent_tool.py | ||
| task_tool.py | ||
| tool_search.py | ||
| view_image_tool.py | ||