From 7c828053d33f233be08a9b7332ed984fc8c08ae0 Mon Sep 17 00:00:00 2001 From: Ariel Frischer Date: Fri, 14 Feb 2025 14:40:46 -0800 Subject: [PATCH] chore(main.py): remove deprecated fallback tool arguments to simplify configuration and reduce complexity --- ra_aid/__main__.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/ra_aid/__main__.py b/ra_aid/__main__.py index cf787fe..caa9f10 100644 --- a/ra_aid/__main__.py +++ b/ra_aid/__main__.py @@ -153,22 +153,11 @@ Examples: action="store_false", help="Whether to disable token limiting for Anthropic Claude react agents. Token limiter removes older messages to prevent maximum token limit API errors.", ) - parser.add_argument( - "--no-fallback-tool", - action="store_true", - help="Disable fallback model switching.", - ) parser.add_argument( "--experimental-fallback-handler", action="store_true", help="Enable experimental fallback handler.", ) - parser.add_argument( - "--fallback-tool-models", - type=str, - default="gpt-3.5-turbo,gpt-4", - help="Comma-separated list of fallback models to use in order.", - ) parser.add_argument( "--recursion-limit", type=int, @@ -471,16 +460,12 @@ def main(): ) _global_memory["config"]["planner_model"] = args.planner_model or args.model - _global_memory["config"]["no_fallback_tool"] = args.no_fallback_tool - # Store research config with fallback to base values _global_memory["config"]["research_provider"] = ( args.research_provider or args.provider ) _global_memory["config"]["research_model"] = args.research_model or args.model - # Store fallback tool configuration - _global_memory["config"]["no_fallback_tool"] = args.no_fallback_tool # Store temperature in global config _global_memory["config"]["temperature"] = args.temperature