Fix: Prevent empty additional_args from being added to agent prompt by f-j-r · Pull Request #1566 · huggingface/smolagents (original) (raw)
Navigation Menu
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Conversation
This increased context size could lead to confusion, especially as ToolCallingAgents cannot execute Python code anyway, but nevertheless the line was added to the prompt.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})