You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in the following code in agent_02_PlanningAgent.py
enable_search_toggle = self._determine_search_requirement().strip()
if self.debug:
print("Search toggle: ", enable_search_toggle)
# Create steps based on validation
steps = self._create_steps(validated_query, enable_search_toggle)
enable_search_toggle is a str but _create_steps expects a bool. Thus a "False" from enable_search_toggle would still evaluate as true inside the _create_steps function.
The text was updated successfully, but these errors were encountered:
borghives
changed the title
enable_search_toggle will always evaluate to True
[Bug] enable_search_toggle will always evaluate to True
Jan 18, 2025
in the following code in agent_02_PlanningAgent.py
enable_search_toggle is a str but _create_steps expects a bool. Thus a "False" from enable_search_toggle would still evaluate as true inside the _create_steps function.
The text was updated successfully, but these errors were encountered: