fix(agent): remove unused get_variable_names function by keli-wen · Pull Request #1784 · huggingface/smolagents (original) (raw)

Description

This PR removes the unused get_variable_names function from src/smolagents/agents.py that was introduced in commit 8ba036b.

Motivation

The get_variable_names function is dead code that:

Removing unused code improves:

Changes Made

Note: This function was originally introduced in commit 8ba036b but never actually used in the codebase.