fix: enable tool forwarding by default and add config regression tests
Switch TOOL_FORWARD_ENABLED default to true in runtime config and .env.example, and add regression tests covering default-on and explicit false behavior. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -182,6 +182,6 @@ def load_settings() -> Settings:
|
||||
session_reuse_enabled=_bool_env("SESSION_REUSE_ENABLED", True),
|
||||
session_cache_max_entries=int(os.getenv("SESSION_CACHE_MAX_ENTRIES", "256")),
|
||||
session_cache_ttl_sec=float(os.getenv("SESSION_CACHE_TTL_SEC", "1800")),
|
||||
tool_forward_enabled=_bool_env("TOOL_FORWARD_ENABLED", False),
|
||||
tool_forward_enabled=_bool_env("TOOL_FORWARD_ENABLED", True),
|
||||
tool_allowlist=_csv_env(os.getenv("TOOL_ALLOWLIST", "")),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user