Skip to content

Commit 317b573

Browse files
authored
make additional_args nullable for managed agents (#1827)
1 parent 486db68 commit 317b573

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/smolagents/agents.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ def _setup_managed_agents(self, managed_agents: list | None = None) -> None:
379379
"additional_args": {
380380
"type": "object",
381381
"description": "Dictionary of extra inputs to pass to the managed agent, e.g. images, dataframes, or any other contextual data it may need.",
382+
"nullable": True,
382383
},
383384
}
384385
agent.output_type = "string"

0 commit comments

Comments
 (0)