mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-14 08:45:12 -05:00
Conditionally register search_feature_requests and create_feature_request tools only when LINEAR_API_KEY, LINEAR_FEATURE_REQUEST_PROJECT_ID, and LINEAR_FEATURE_REQUEST_TEAM_ID are all configured. This prevents the LLM from calling tools that will fail at runtime and avoids confusing error messages for users. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>