Fix: Prevent empty additional_args from being added to agent prompt by f-j-r · Pull Request #1566 · huggingface/smolagents (original) (raw)

Skip to content

View all features

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@f-j-r

@f-j-r

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.

albertvillanova

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 }})